|Navigation: Templates > Guide to all Templates > Wizard and Utility Templates >====== Application Wizard utility template ======
This wizard creates a complete application from an existing dictionary. It creates a Frame containing a menu with options calling all procedures it creates. It also creates Browse and Report procedures for each specified file, with associated Form (Update) procedures.
Answer the questions in each dialog, then press the Next button.
After the introduction screen, you are presented with the following options:
Select from the drop list of themes. Themes are groups of settings that control colors, fonts, icons, backgrounds, positions and much more - for Frame, Browse, Form and Report procedures. You will have the opportunity to create a new theme as you progress through the wizard. Select a starting or default theme here.
Select a default report layout from the drop list provided. This layout will be the basis for all of the reports that will be generated by the wizard.
If you are using the Quick Start Wizard, this is the only dialog that you will be presented with. Press the Finish button to begin the creation of your application.
Other prompts that follow on subsequent windows:
Generate Procedures for:
all files in my dictionary
Select this item to instruct the wizard to generate browse/form and optional report procedures for all tables defined in the dictionary.
Select this item to instruct the wizard to generate browse/form and optional reports for all tables defined in the dictionary that are not defined as relational child tables to any other table. This option is useful for applications with large dictionaries whose relationships have not yet been defined, and limits the generation of additional procedures used to establish these related tables (child browse procedures and selects).
Select this item to instruct the wizard to generate browse/form and optional report procedures for all tables selected in the next dialog window, which is a list of all tables defined in the selected dictionary.
For SQL based file systems, the Application Wizard also generates code to capture user login information upon initial program load, and then reuse the login information for each file accessed.
Which control model should the Application use?
There are three models the wizard can use to create applications: Button, Toolbar, or Both. See Application Wizard-Control model .
The wizard builds the application with traditional Insert, Change, Delete, OK, and Cancel command buttons that appear on each dialog.
The wizard builds the application with global toolbar command buttons that appear on the application frame. The toolbar buttons control each dialog. See Control Templates-FrameBrowseControl for more information.
The wizard builds the application with both the traditional dialog command buttons and the global toolbar command buttons.
Wizards have different “look and feel” settings and actions called themes, which can be modified and saved for use in other applications. Themes are set and controlled by a variety of customization options.
Press the Next button to accept the selected theme's settings, or press one of the customization buttons to modify them at this time.
Create an Internet Enabled Application
If you are using the ABC template chain, check this box to apply the Web Application Extension (WebBuilder) templates to your application. If you are using the Clarion template chain, check this box to apply the Internet Application Extension (H5) templates to your application. In both instances, this allows your application to be deployed as both a Windows and Internet application.
You must have the appropriate template set registered in order to use this feature.
Overwrite existing procedures
Check this box to overwrite existing procedures with the same names. Clear the box to preserve existing procedures.
Generate Reports for each file
Check this box to automatically generate report procedures. Clear the box to omit report procedures.
Select Sort Order
Select from the drop list the sort and report generation method from the following choices:
Select this option to force the wizard to generate a separate report for each key defined in your file (or files).
Runtime Key Selection
Select this option to force the wizard to generate a single report that pops up a sort order dialog prior to printing at runtime.
Select this option to force the wizard to generate a single report sorted by record order for your selected file (or files).
On the last dialog, the Finish button is enabled. If you are satisfied with your answers, press the Finish button. You also have the option here to Save Changes, where any changes to customization options are saved to the theme that you selected at the start of the wizard. If you wish, you can opt to Save on a new theme, and enter the new name of the Theme and Theme file.
You can press the Back button to change a prior selection or press the Cancel button to abandon the application.
The Application Wizard creates the .APP file based on the dictionary and the answers you provided, and then displays the Application Tree dialog for your new application.
Fine Tuning the Wizard
You can control how the wizard builds your application by specifying options for Tables, Columns, Keys, and Relationships in the Data Dictionary (see Dictionary Options Dialog).