SELECT Mnemonic - Select Text
Syntax
'SELECT' (id,start,end)
Description
The 'SELECT' mnemonic selects text in edit and list edit controls. To position the caret, set start and end parameters to the same value. To select the whole text, set an end value smaller than the start value. CTRL() function 2 (Get Selection) returns the position of the selected text.
Parameter |
Description |
id |
Control ID number. It must be an integer between 1 and 32767 and be unique within a given top-level window. |
start |
Character position of the first character to be selected. |
end |
Character position of the last character to be selected. |