Language Reference Guide : 4. System Classes : DisplayForm Class
 
Share this page                  
DisplayForm Class
The DisplayForm class represents a field that you can populate with widgets, PostScript output, or other graphic features supplied by your 3GL code. OpenROAD ignores this field when it compiles your application.
OpenROAD provides an Entry event when the user tabs into a display form. The 4GL code must then call any necessary 3GL code to set the input focus for a field within the display form. If the user enters the display form by clicking on a field, you must code the 3GL to perform all necessary actions. Because no 4GL event is generated when users enter a display form by clicking the mouse, you must write the 3GL code required to handle acceptance of focus.
After the user enters a display form, your 3GL code must trap any attempt to leave the field (for example, pressing the Tab key). Whenever such an internal event is triggered, your 3GL code must generate an external UserEvent that sets the InputFocusField. OpenROAD itself handles events, such as mouse clicks, that occur outside the display form that would cause focus to leave the form.
Inherits From
Object Class
FieldObject Class
FormField Class
ActiveField Class
CompositeField Class
SubForm Class
Inherited By
None
Attributes
None
Methods
None