411 REFERENCE · Wikibooks
Futurebasic/Language/Reference/def setbuttontextselection
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
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)