Scripts, Events, and Event Blocks
Associated with each frame is a 4GL script that defines how the frame operates in response to events. An event may be user-initiated, such as clicking a ButtonField, or it may be program-initiated, such as one frame sending a specific user event to another frame.
A frame script can have three parts:
• An optional initialize block used to declare parameters, local variables, and procedures for the frame
• Event blocks, which are blocks of 4GL code that OpenROAD executes when the user or a program initiates a specified action or event
• Optional local procedures that make code easier to read and eliminate code duplication
Note: Individual fields on a form and a frame's menu items can also have their own scripts.
More information:
Last modified date: 06/25/2024