Procedure Builder Options Procedure Builder Options

Here you set the defaults that apply to the Procedure Builder add-in.

Options for Procedure Builder

Options for Procedure Builder

Most of the settings are self-explanatory. 'Scope' is whether the procedure is Private or Public. 'Procedure Type' is Sub or Function. 'Function Return Type' is the return type when a function is specified.

'Error Handler' can be either a standard error handler or a custom one created via Custom Error Handlers. If required default settings for each of the three parameters can be specified, 'Name', 'Passing Type' - ByVal or ByRef, 'Type' and 'Optional'.

The 'Include Custom Classes of Project(s)' CheckBox, will add the classes you have created within your project or project group to the Return 'Type' and parameter 'Type' DropDowns. If you select 'Move Cursor to Procedure' the cursor will be moved to the procedure when it's created.

For maximum flexibility different sets of defaults can be specified for different projects or it can be for 'Any Project'. To specify defaults for a particular project select it in the Project DropDown. When you save your changes they will apply to that project only. If a project hasn't got defaults then those for 'Any Project' will be used, to specify them simply select 'Any Project' in the DropDown. To remove the defaults for a project click the 'Clear' CommandButton.

To make this a convenient process you can setup a project based on the defaults already setup for another project. To do this select the project you want to use in the 'Set Proj. As' DropDown and click 'Setup'.