TextBox-GetSel

Function Name dcl-TextBox-GetSel
Syntax   (dcl-TextBox-GetSel <CONTROL>)
Return Type List of Longs as (Start End)
Applies To Text Box

This method returns the currently selected characters in the edit box. Start and End are the character positions (zero based), respectively, of the first selected character and the character following the last selected character. If nothing is selected, Start and End both return the position of the caret.