177
LIST_BOX Directive
Control List Box
Formats
2.Remove: LIST_BOX REMOVE ctl_id[,ERR=stmtref]
4.Hide/Show: LIST_BOX {HIDE | SHOW} ctl_id[,ERR=stmtref]
Note: The curly braces enclosing {ALL} are part of the syntax.
10.Find Element: LIST_BOX FIND ctl_id,index,var$[,ERR=stmtref]
Where:
@(col,ln,
Position and size of the list box region. Numeric expressions. Column
wth,ht)
and line coordinates for top left corner, width in number of columns
and height in number of lines.
alt_ctl
CTL value to generate when the list box gains focus.
array_name$ Name of array to load into list box. String variable followed by {ALL}.
ctl_id
Unique logical identifier for the list box (any integer -32000 to +32000).
Avoid integers that conflict with keyboard definitions (e.g., 4 cancels
value with the apostrophe operator to access various Dynamic
Control options. Supported options for LIST_BOX include:
ctrlopt
ERR=stmtref Error transfer
FNT="font,size[,attr]" Font name, size, optional properties
KEY=char$ Hot key
MNU=ctl CTL value associated with right-click menu event.
MSG=text$ Message line