Workbench User Guide : 5. Creating Basic Frames : How You Can Create Basic Frames : Create a Dialog
 
Share this page                  
Create a Dialog
To create a standard dialog, you follow the same basic steps as creating a frame.
To create a standard dialog
1. Select your application in the Applications portlet of the Develop tab.
The application's components, if any, are displayed in the Components portlet.
2. Click in the Components portlet to make it active.
3. Click File, New, User Frame.
The Create User Frame dialog appears.
4. Enter the component name in the Name field (for example, My_Dialog).
5. (Optional) Enter a comment for the component in the Remark field.
6. Accept the default application library, Core, in the Application field, and then select the dialog_box template in the Template field.
7. Click Create.
OpenROAD opens the Frame Editor, displaying the frame based on the template you specified. By default, this frame has a form that is empty except for two standard buttons, OK and Cancel.
OpenROAD also adds the dialog to the Components portlet as a user frame component.