Combo Boxes
Subroutine |
Function |
---|---|
PIX.GUI.LOAD.SIMCOMB |
|
PIX.GUI.LOAD.DROPCOMB |
Simple combo boxes
To create a simple combo box, call the following subroutine from your application:
CALL PIX.GUI.LOAD.SIMCOMB(GUI.APP.NAME, CONTROL.DETAILS, STRING)
Where:
CONTROL.DETAILS |
Control ID, SIMCOMB, X, Y, W, H, Label, {Key1,...Keyn} |
Where:
Control ID |
The unique name for the combo box. |
SIMCOMB |
Text literal SIMCOMB. |
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 Simple Combo. |
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 |
HIDDENMSG |
DISPLAYMSG* |
HSCROLLBAR |
INITSELECT |
BORDERON |
BORDEROFF * |
|
|
|
Default settings are denoted by *. See Keyword Definitions for definitions.
Alternatively, you can use the PIX.GUI.CONTROL.LOAD subroutine described on Loading all types of controls.
Simple Combo Boxes Program Example
CALL PIX.GUI.LOAD.SIMCOMB("","BREED,SIMCOMB,9,10,15,6,
BREEDS.LIST,BORDERON","")
Drop-down Combo Boxes
To create a drop-down combo box, call the following subroutines from your application:
CALL PIX.GUI.LOAD.DROPCOMB(GUI.APP.NAME, CONTROL.DETAILS, STRING)
Where:
CONTROL.DETAILS |
Control ID, DROPCOMB, X, Y, W, H, Label, {Key1,...Keyn} |
Where:
Control ID |
The unique name for the combo box. |
DROPCOMB |
Text literal DROPCOMB. |
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 drop down Combo. |
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* |
BORDERON |
BORDEROFF * |
READONLY |
READWRITE * |
INITSELECT |
TOPBOX |
Default settings are denoted by *. See Keyword Definitions for definitions.
Alternatively, you can use the PIX.GUI.CONTROL.LOAD subroutine described on Loading all types of controls.
Drop-down Combo Boxes Program Example
094 CALL PIX.GUI.LOAD.DROPCOMB ("","GROUP,DROPCOMB,9,4,15,5,GROUP.LIST","")