Futurebasic/Language/Reference/def setbuttontextselection

Syntax
DEF SETBUTTONTEXTSELECTION

Revised
February, 2002 (Release 6)

Description
Use this procedure to set the selection range of an Appearance Manager, control-based edit field. (Such buttons are created using the APPEARANCE BUTTON statement with a type like _kControlEditTextProc.) The minimum value for selStart is zero for the position before the first character. The maximum value for selEnd is 32767 (or _maxInt). To set the selection to the end of the field, use: DEF SETBUTTONTEXTSELECTION(bRefNum&, _maxInt, _maxInt)