Function Name | dcl-TextBox-ReplaceSel |
---|---|
Syntax | (dcl-TextBox-ReplaceSel
<CONTROL>
NewText [as
String]) |
Return Type | Boolean (T if successful; otherwise NIL) |
Applies To | Text Box |
This method replaces the current selection with NewText. If nothing is selected, NewText is inserted at the caret position.