14. Creating a Frame at Runtime : How You Can Build a Frame Dynamically
 
Share this page                  
How You Can Build a Frame Dynamically
When you build a frame dynamically, you must do in 4GL the tasks that you (or OpenROAD) would do if you were using OpenROAD Workbench to create a frame, which include:
Create a frame and set its attributes
Create the form associated with the frame
Create the fields on the form and set their attributes
Create the frame's menu
Create the frame's script
The preceding tasks require you to create several objects, for example, a frame, a form, and a menu. To create an object dynamically, use the Create method. Executing the Create method returns an object of the specified class.
The syntax of the Create method is: