General Options General Options

General Options is where the options for the entire tool are set. Everything from the format for procedure headers to the prefix used for Strings.

General

First Frame - General Frame

This contains options that control TurboVB generally.

Tab1 - General

Tab 1 - General

The various options are listed and described in detail below: -

Second Frame - Enhanced Clipboard

This frame contains two options for the Enhanced Clipboard Add-in. First, whether the clipboard will be automatically cleared on a paste and whether a blank line will be added to each copy command.

Headers

Controls the format of procedure headers

Tab 2 - Headers

Tab 2 - Headers

First frame - Header Fields

These control the fields used in a procedure header.

Second frame - Header

Controls the format of the procedure header.

Add-ins Display

Controls the display and order of the add-ins

Tab 3 - Add-ins Display

Tab 3 - Add-ins Display

For the main menu and toolbar you can specify what add-ins appear and the order they appear in. Select whether an add-in appears by checking it. To move a particular add-in up or down in the order first select either 'Menu' or 'Toolbar' at the top left then select the add-in you want and use the 'Up' and 'Down' CommandButtons at the top right. Any changes need to be confirmed by clicking the 'Update' CommandButton. The Proc. Recoder functions can be added to the menu and/or toolbar.

By clicking the CommandButton 'Restore to Defaults' you can select to return to the default settings.

For the Code, Control, Immediate, Window and Project Explorer menus you can control whether particular add-ins will appear. You can also select to have 'Open Folder of File', 'Open File in Notepad' and 'Revert to Saved Version' in the Project Explorer Menu. You have individual control of the four tools in the Control Alignment add-in.

Variable Prefixes

Sets the prefixes to be used for different variable types

Tab 4 - Variable Prefixes

Tab 4 - Variable Prefixes

To amend the prefix for a variable type, select it in the ListView, amend the values in the TextBoxes and click 'Update'. You can delete a type by selecting it and hitting the 'Delete' key. Add a new variable type by entering the new prefix and type and click 'Update'. Click 'Restore to defaults' to return to the types and prefixes created on install.

Proc. Recoder

Controls Proc. Recoder and provides some miscellaneous functions

Tab 5 - Misc.

Tab 5 - Proc. Recoder

First frame - Proc. Recoder

Controls the functions that are displayed in the Proc. Recoder Add-in.

Second Frame - Random Functions

Use this to get a random DLL base or GUID value.

Module Headers

Setup a header for modules

Tab 6 - Module Headers

Tab 6 - Module Headers

If 'Module Headers' is selected the defined template for a module type if found will be written out when a new module is added to a project. Select the module type in the 'Type' DropDown. You can use several 'Standard Elements' in the headers: -

Save the header by clicking the 'Update' CommandButton.

'Add Module Header' can be added to the TurboVB menu and/or toolbar and is used to add a header to existing modules.