# HExpand Event

> Occurs when the TXTextControl has changed its window size horizontally. The HExpand event can only occur when the AutoExpand property is set to True.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Event
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > HExpand Event
- **124 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/hexpand-event/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/hexpand-event/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/hexpand-event/llms-full.txt

---

Occurs when the Text Control has changed its window size horizontally. This event can only occur when the [AutoExpand](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/autoexpand-property/llms-full.txt) property is set to True.

### Syntax

```vbscript
HExpand( )
```

### See Also

- [AutoExpand Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/autoexpand-property/llms-full.txt)
- [VExpand Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/vexpand-event/llms-full.txt)
- [Programming Category: Control Settings](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/control-settings/llms-full.txt)

---

## Nearby

- **Previous:** [HeaderFooterStyle Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooterstyle-property/llms-full.txt)
- **Next:** [HideSelection Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/hideselection-property/llms-full.txt)
