| Property | Sample Value | Possible Values |
|---|---|---|
| Active | 1 | 1 or 0, boolean value |
| ChoiceField | Must be empty string (not yet supported) | |
| ChoiceVar | Either empty string or name of local array | |
| DisplayOnly | 0 | 1 or 0, boolean value |
| MaxSelect | 1 | Integer number of items that may be selected |
| NextControl | Either empty string or the name of the control that is reached by typing <tab> while "on" this control | |
| PosLeft | 124 | Floating point number, in "PosUnits" units |
| PosTop | 16 | Floating point number, in "PosUnits" units |
| PosUnits | ZDLG | PIXEL, POINT, ZDLG or CHAR |
| SizeHeight | 40 | Floating point number, in "PosUnits" units |
| SizeWidth | 40 | Floating point number, in "PosUnits" units |
| Title | Title for Listbox | Free text |
| Type | LIST | Must be LIST for list boxes |
| VarName | Either empty string or name of local variable | |
| VarPermanent | 0 | 1 or 0, boolean value |
Action logic may be defined for the following events:
| Event | Event-code |
|---|---|
| Create | Ev10 |
| Enter | Ev20 |
| Choose | Ev30v3 |
| Exit | Ev40 |
| Destroy | Ev50 |
| change | EvCHANGE |
| dblClick | EvDBLCLICK |
| deselect | EvDESELECT |
| gotFocus | EvFOCUS |
| help | EvHELP |
| select | EvSELECT |
| lostFocus | EvUNFOCUS |
The code for each event is encoded as:
Begin Event [event code] -------- Begin Document ActionLogic [number of lines] First line Second line etcetera -------- End End
Note: It is important that the [number of lines] exactly matches the actual number of lines between "----- Begin" and "----- End".