TextBox_SetSel

Funktionsname dcl_TextBox_SetSel
Syntax   (dcl_TextBox_SetSel <CONTROL> Start [as Long] End [as Long] {NoScroll [as Boolean]})
Rückgabewert Boolean (T if successful; otherwise NIL)
Anwendbar auf Text Box

This method selects a range of 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 Start is -1, all selections are removed. If End is -1, all characters from Start to the last character in the edit box are selected. The replacement text is automatically scrolled into view unless NoScroll is T.