Function Name | dcl-TextBox-SetSel |
---|---|
Syntax | (dcl-TextBox-SetSel
<CONTROL>
Start [as
Long] End [as
Long] {NoScroll [as
Boolean]}) |
Return Type | Boolean (T if successful; otherwise NIL) |
Applies To | 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.