TextEdit.SelLength
From Xojo Documentation
This item was deprecated in version 2019r2. Please use TextEdit.SelectionLength as a replacement. |
Property (As Integer )
aTextEdit.SelLength = newIntegerValue
or
IntegerValue = aTextEdit.SelLength
Supported for all project types and targets.
or
IntegerValue = aTextEdit.SelLength
Supported for all project types and targets.
The number of highlighted characters.
Notes
A SelLength of 0 means an insertion point rather than a selection. A value greater than the number of characters in the control means that the selection is from SelStart to the end of the control.
Example
This example selects the first 10 characters of TextArea1.
TextArea1.SelStart = 0
TextArea1.SelLength = 10
TextArea1.SelLength = 10