Returns or sets the starting point of the selected text and the insertion point in the edit area of the ATextBox object.
Object.SelStart [ = lSelStart ]
The SelStart property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
ATextBox |
ATextBox control |
|
lSelStart |
Long |
An integer specifying the starting point of the selected text and the insertion point in the edit area of the object. |
The valid range of settings is 0 to the text length. The default is zero, which means nothing is selected.
This property is available at run time only.
The following statement changes the starting point of the selected text and the insertion point to be one:
tb1.SelStart=1