Constructing Forms and Reports
Forms are presentation components used in desktop applications and reports are used for printing. They are created in the same way.
- Create the form or report component. For more information, see Create a New Component.
- Define the data structure and basic layout of the component in the Define Frames worksheet. For more information, see Define the Structure and Layout of Forms and Reports .
- Refine the layout and appearance of the component in the Define Frames worksheet:
-
Script the component behavior in the
Write Script worksheet. For more information, see Script the Component Behavior.
For both derived and non-derived entities and fields, you can define script modules to control component-specific behavior. For more information, see Script Modules.
- Click Compile. This generates a runtime object in your \project\resources\frm directory.
-
Test the component. From the
Actions menu, choose Test.
This spawns a separate process and activates the exec operation of the component. When the component exits, control returns to the Uniface IDE.
Tip: You can optionally specify test logicals in the ide.asn file to customize the test environment, providing command line switches that override the default behavior. For more information, see IDE Test Logicals.