|Navigation: Templates > Guide to all Templates > Wizard and Utility Templates >====== Form Wizard utility template ======|
This wizard creates an update Form Procedure from an existing dictionary file definition. The form displays and updates a single record.
After the introduction screen, you are presented with the following options:
|Theme||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.|
|Save Settings||After you have selected a theme, you have the option to save these settings for any future applications that you create.|
What name should be used as the label of the form procedure?
Type the procedure name.
Which file do you want the form to update?
Press the ellipsis (…) button to select a file from the dictionary.
Allow Records To Be Added
Check this box to allow new records.
Allow Records To Be Modified
Check this box to allow records to be changed.
Allow Records To Be Deleted
Check this box to allow records to be deleted.
Type the title bar text to display when adding a record.
Type the text to display when changing a record.
Type the text to display when deleting a record.
Where do you want this message to be displayed?
Choose the title bar or the status bar.
A field can be displayed that identifies the active record.
Press the ellipsis button to select a column from the dictionary to display on the window title bar.
Validate field values whenever field value changes?
Check this box for immediate validation when the end user “accepts” the column.
Validate field values when the OK button is pressed?
Check this box for column validation on the OK button.
Browsing child files
Select one of the following choices.
Place children on tabs
Access children with push buttons
Do not provide child access
Which control model should the Application use?
|Button||The wizard builds the dialogs with traditional Insert, Change, and Delete command buttons.|
|Toolbar||The wizard builds the form to use global toolbar command buttons that appear on the application frame. See Control Templates - FrameBrowseControl.|
|Both||The wizard builds the form to use both traditional dialog command buttons and 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.
Overwrite existing procedures
Check this box to overwrite existing procedures with the same names. Clear the box to preserve existing procedures.
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 to a new theme.
The Form Procedure Wizard creates the procedure(s) based on the dictionary table and the answers you provided, and then displays the Procedure Properties dialog for your new procedure.