| Property | Sample Value | Possible Values |
|---|---|---|
| Active | 1 | 1 or 0, boolean value |
| CompPrefixGbl | XXX | Three characters that may appear as the start of the name of a global variable |
| CompPrefixRtn | XXX | Three characters that may appear as the start of the name of a routine |
| CompTrace | 0 | 1 or 0, boolean value |
| DevMode | GUI | CHUI or GUI {???} |
| GridHeight | 8 | Floating point number, in "GridUnits" units |
| GridOn | 1 | 1 or 0, boolean value |
| GridSnap | 1 | 1 or 0, boolean value |
| GridUnits | ZDLG | PIXEL, POINT, ZDLG or CHAR |
| GridWidth | 4 | Floating point number, in "GridUnits" units |
| MVersion | MSM | MSM or ??? |
| Maximized | 0 | 1 or 0, boolean value |
| Menubar | % | Either empty string or name of menu bar |
| MinButton | 0 | 1 or 0, boolean value |
| PosLeft | 0 | Floating point number, in "PosUnits" units |
| PosRecall | 1 | 1 or 0, boolean value |
| PosTop | 0 | Floating point number, in "PosUnits" units |
| PosUnits | ZDLG | PIXEL, POINT, ZDLG or CHAR |
| Resizable | 1 | 1 or 0, boolean value |
| SizeHeight | 192.5 | Floating point number, in "SizeUnits" units |
| SizeRecall | 1 | 1 or 0, boolean value |
| SizeUnits | ZDLG | PIXEL, POINT, ZDLG or CHAR |
| SizeWidth | 260 | Floating point number, in "SizeUnits" units |
| Title | VexWindow | Free text |
| Type | APPLICATION | Must be APPLICATION for windows |
| Units | ZDLG | PIXEL, POINT, ZDLG or CHAR |
| Visible | 1 | 1 or 0, boolean value |
| WinHeight | 208 | Floating point number, in "WinUnits" units |
| WinUnits | ZDLG | PIXEL, POINT, ZDLG or CHAR |
| WinWidth | 266 | Floating point number, in "WinUnits" units |
Note: By default, all measures are in units called ZDLG,
so-called "dialog units". In "dialog units", a character measures
5 ZDLG (wide) by 8 ZDLG (high).
In other words, the traditional screen containing 80x24 characters
would measure 400x192 ZDLG units.
Action logic may be defined for the following events:
| Event | Event-code |
|---|---|
| Create | Ev10 |
| Enter | Ev20 |
| Exit | Ev40 |
| Destroy | Ev50 |
| Error | Ev80 |
| Common | Ev90 |
| char | EvCHAR |
| click | EvCLICK |
| close | EvCLOSE |
| dblClick | EvDBLCLICK |
| gotFocus | EvFOCUS |
| help | EvHELP |
| keyDown | EvKEYDOWN |
| keyUp | EvKEYUP |
| maximize | EvMAX |
| minimize | EvMIN |
| move | EvMOVE |
| ptrDown | EvPDOWN |
| ptrDrag | EvPDRAG |
| ptrMove | EvPMOVE |
| ptrUp | EvPUP |
| resize | EvRESIZE |
| restore | EvRESTORE |
| 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".