User Tools

Site Tools


how_to_customize_procedure_templates.htm
Navigation:  »No topics above this level«====== How to Customize Procedure Templates ====== Return to chapter overview

Each procedure template can have multiple default procedures. For example, the Window template can have more than one default procedure–each with its own window design, pre-populated controls and/or control templates, and pre-defined local variables.

Default procedures are customized through the Template Registry.

You can also create and modify templates.

1.Choose Tools C6H0013.jpg Edit Template Registry.

The Template Registry lists all registered templates.

2.Highlight the procedure template to customize, then press the Properties button.

The Template Procedure Properties dialog appears.

3.Press the Defaults button.

The Edit Default Procedures dialog appears with a list of the default procedures. All of the procedure templates in the shipped with this product have one default procedure each.

4.Press the Add button.

5.Provide a name for the new default procedure in the New Procedure dialog, then press OK.

A standard Procedure Properties dialog appears.

6.Edit the procedure as desired, designing a window, adding controls and/or control templates, adding local variables, etc.

7.Exit by pressing the appropriate OK or Close buttons.

The next time you add a procedure to an application and select the procedure type, you will be prompted to select the default procedure from which to start.

how_to_customize_procedure_templates.htm.txt · Last modified: 2019/11/13 16:57 by 127.0.0.1