DesktopTextControl.HorizontalScrollPosition

From Xojo Documentation

Method

DesktopTextControl.HorizontalScrollPosition() As Integer

New in 2021r3

Supported for all project types and targets.

Scrolls the text control horizontally to the position (in points) from the left edge of the control.

Example

This code scrolls the control horizontally by 200 points.

TextArea1.HorizontalScrollPosition = 200