Futurebasic/Language/Reference/def setbuttontextselection

Syntax

edit

DEF SETBUTTONTEXTSELECTION

Revised

edit

February, 2002 (Release 6)

Description

edit

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)