| Property | Sample Value | Possible Values |
|---|---|---|
| Active | 1 | 1 or 0, boolean value |
| Border | 1 | 1 or 0, boolean value |
| DispFmtParams | M[UMPS] code | |
| DispFmtType | Either empty string (default) or 1000 (M[UMPS] code to be supplied) | |
| DisplayOnly | 0 | 1 or 0, boolean value |
| MaxLength | Integer number (maximum number of characters to be entered) | |
| NextControl | Either empty string or the name of the control that is reached by typing <tab> while "on" this control | |
| PosLeft | 12 | Floating point number, in "PosUnits" units |
| PosTop | 48 | Floating point number, in "PosUnits" units |
| PosUnits | ZDLG | PIXEL, POINT, ZDLG or CHAR |
| SizeHeight | 10 | Floating point number, in "PosUnits" units |
| SizeWidth | 40 | Floating point number, in "PosUnits" units |
| Title | Title for Textbox | Free text |
| Type | TEXT | Must be TEXT for text boxes |
| ValidateParams | M[UMPS] code | |
| ValidateType | Either empty string (default) or 1000 (M[UMPS] code to be supplied) | |
| 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 |
| Modified | Ev30 |
| Exit | Ev40 |
| Destroy | Ev50 |
| change | EvCHANGE |
| char | EvCHAR |
| gotFocus | EvFOCUS |
| help | EvHELP |
| keyDown | EvKEYDOWN |
| keyUp | EvKEYUP |
| 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".