WebTextArea.ScrollPosition

From Xojo Documentation

Property (As Integer )
aWebTextArea.ScrollPosition = newIntegerValue
or
IntegerValue = aWebTextArea.ScrollPosition

Supported for all project types and targets.

Use to get or set the topmost visible line (zero-based).


Example

Scroll to line 100 in a TextArea:

TextArea1.ScrollPosition = 100