List Boxes
To create a list box, call the following subroutines from your application:
CALL PIX.GUI.LOAD.LIST (GUI.APP.NAME, CONTROL.DETAILS, STRING)
Where
CONTROL.DETAILS |
Control ID, LIST, X, Y, W, H, Label, {Key1,...Keyn} |
Where:
Control ID |
The unique name for the list box. |
LIST |
Text literal LIST. |
X |
The X co-ordinate of the left of the box. |
Y |
The Y co-ordinate of the top of the box. |
W |
Width of the box (characters). |
H |
Height of the box (characters). |
Label |
String List associated with the list box. |
Key1...Keyn |
Additional parameters if required, in any order - see below. |
The following extra keyword parameters are available:
HIDE |
SHOW * |
GRAYED |
UNGRAYED * |
TERMITE * |
SYSTEM |
HELV8 |
HELV10 |
SORT * |
NOSORT |
HSCROLL |
HSCROLLBAR |
HIDDENMSG |
DISPLAYMSG* |
INITSELECT |
SIZEBOX |
TOPBOX |
BORDERON |
BORDEROFF * |
TABBED |
MORE |
|
|
|
Default settings are denoted by *.
Alternatively, you can use the PIX.GUI.CONTROL.LOAD subroutine, see Loading all types of controls for details.
List Boxes Program Example
102 CALL PIX.GUI.LOAD.LIST ("","CLASS,LIST,33,4,25,6,CLASS.LIST,TABBED","")