8. Generating Frames from Predefined Templates
 
Share this page                  
Generating Frames from Predefined Templates
Overview
OpenROAD Workbench provides a set of predefined frame templates that let you quickly integrate some of the components commonly featured in many of today's powerful applications. These templates are contained in a set of OpenROAD libraries that may be easily included in your application.
Each predefined frame template has an associated “assistant” that prompts you for information used in customizing the frame. This enables you to create the frame layout dynamically based on your input.
In this chapter, you will learn:
How to use the predefined frame templates included in Workbench to create frames
How to customize these generated frames using the assistants associated with the predefined templates
How end users can use these generated frames
Only the following templates are described in this chapter:
Library
Template
core
about_box (see The about_box Template)
calculator (see The Calculator Template)
find_dialog (see The find_dialog Template)
font_dialog (see The font_dialog Template)
mclient (see The mclient_frame Template)
splash_screen (see The splash_screen Template)
text_editor (see The text_editor Template)
Note:  Creating frames with the dialog_box, empty_frame, and menu templates is described in Creating Basic Frames. Also see Creating and Modifying Menus). For more information about the mclient_frame template, see mClient Deployment.
finance
financial_calculator (see The financial_calculator Template)
mastdetl (see The mastdetl Templates)
detail (see The detail Template)
explosion (see The explosion Template)
master_detail (see The master_detail Template)
simple_field (see The simple_field Template)
table_field (see The table_field Template)
misc
toolbar_window (see The toolbar_window Template)
Note:  For more information, see Creating Toolbars.
To use the finance, mastdetl, and misc libraries, you must include them in your application. For more information, see Include Predefined Template Packages in Your Application).