wSelectionEnd property to obtain the index (zero-based) of the first character that follows the selected text in the edit control. The index of the last selected character will be equal to
wSelectionEnd-1. Characters in the text box are enumerated from left to right. To get the number of selected characters, subtract the
wSelectionStart property value from the
wSelectionEnd property value.
|TestObj||A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section|
The property is applied to the following object:
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
An integer value specified the index of character that follows the last selected character.
wSelectionStart Property (ButtonEdit Controls)
wSelection Property (ButtonEdit Controls)