# HScroll Event

> Occurs when the horizontal scroll position of the TXTextControl has been changed. The HScroll event cannot occur when ViewMode is set to Simple Control.

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

---

Occurs when the horizontal scroll position has been changed. This event cannot occur, 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
HScroll( )
```

### See Also

- [VScroll Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/vscroll-event/llms-full.txt)
- [Programming Category: Scrolling](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/scrolling/llms-full.txt)

---

## Nearby

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