Returns or sets the number of characters selected in the edit area of the ATextBox object.
Object.SelLength [ = lSelLength ]
The SelLength property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
ATextBox |
ATextBox control |
|
lSelLength |
Long |
An integer specifying the number of selected character 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 number of characters in the edit area that can be selected to be sixteen:
tb1.SelLength=16