# AutoExpand Property

> Specifies whether TXTextControl grows automatically when inserted or reformatted text no longer fits; only in the Simple Control view mode, run time only.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > AutoExpand Property
- **162 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/autoexpand-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/autoexpand-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/autoexpand-property/llms-full.txt

---

Specifies whether the control size should expand automatically when the text insertion or format changes results in text that does not fit into the Text Control anymore. This property is only available if the [ViewMode](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/viewmode-property/llms-full.txt) property has been set to **Simple Control**.

### Syntax

```vbscript
TXTextControl.AutoExpand [= boolean]
```

| Setting | Description |
|---|---|
| True | The window size expands automatically. |
| False | Fixed window size. |

### Data Types

Integer.

### Limitations

Run time only.

### See Also

- [Programming Category: Control Settings](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/control-settings/llms-full.txt)

---

## Nearby

- **Previous:** [AutoBaseLine Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/autobaseline-property/llms-full.txt)
- **Next:** [AutoScroll Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/autoscroll-event/llms-full.txt)
