TextArea.SelStart
From Xojo Documentation
Property (As Integer )
aTextArea.SelStart = newIntegerValue
or
IntegerValue = aTextArea.SelStart
Supported for all project types and targets.
or
IntegerValue = aTextArea.SelStart
Supported for all project types and targets.
The position of the insertion point.
Notes
A value of zero means that the insertion point is before the first character. Use SelStart to set the position of the insertion point in the text. Use SelStart in conjunction with SelLength to select a portion of the text in the TextArea, beginning with SelStart and extending for SelLength characters.