TextBox-ReplaceSel

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

此方法用NewText替换当前选择。 如果未选择任何内容,则将NewText插入光标位置。