Lingo Dictionary > S > selStart |
![]() ![]() ![]() |
selStart
Syntax
the selStart
Description
Cast member property; specifies the starting character of a selection. It is used with selEnd
to identify a selection in the current editable field, counting from the beginning character.
This property can be tested and set. The default value is 0.
Example
These statements select "cde" from the field "abcdefg":
the selStart = 3 the selEnd = 5
Example
This statement calls the handler noSelection
when selEnd
is the same as selStart
:
if the selEnd = the selStart then noSelection
Example
This statement makes a selection 20 characters long:
the selEnd = the selStart + 20
See also
selection() (function)
, selEnd
, text
![]() ![]() ![]() |