TextBox-GetSel

Имя функции dcl-TextBox-GetSel
Синтаксис   (dcl-TextBox-GetSel <CONTROL>)
Возвращаемый тип List of Longs as (Start End)
Подходит к 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.