# ScrollPosX Property

> Sets or returns the position of the horizontal scroll bar of TXTextControl in twips, to read or change the horizontal scroll position at run time.

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

---

Specifies the position of the horizontal scroll bar in [twips](https://docs.textcontrol.com/tx-text-control-activex/document-editor/viewing/#measure-in-twips).

### Syntax

```vbscript
TXTextControl.ScrollPosX [= value]
```

### Data Types

Long.

### Limitations

Run time only.

### See Also

- [ScrollPosY Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/scrollposy-property/llms-full.txt)
- [HScroll Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/hscroll-event/llms-full.txt)
- [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:** [ScrollBars Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/scrollbars-property/llms-full.txt)
- **Next:** [ScrollPosY Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/scrollposy-property/llms-full.txt)
