Copyright: 1.0


Contacting HockWare

Phone: 	(919) 380-0616

Fax:    	(919) 380-0757

Internet:	http://www.vispro.com

sales@vispro.com

support@vispro.com

CIS:	71333,3226

GO HOCKWARE


System Requirements

VisPro for Visual Basic requires:

Windows 3.1, 95 or NT

Microsoft Visual Basic 4.0 or greater

2 Mb disk space


What is VisPro for Visual Basic
What is VisPro for Visual Basic?

VisPro for Visual Basic consists of several major features that make it easier to program with Microsoft's Visual Basic. These features have two specific goals: to save you time and trouble, and to make the work you do less error- prone. VisPro for Visual Basic will greatly reduce tiresome searching through manuals and code.

WithVisPro for Visual Basic, the information in your forms is neatly laid-out for you so you can see how the code is structured at a glance. We take it one step further and let you program or make changes to code by dragging and dropping. For example, to program a control, you drag it to a Code window, and the VisPro Code Wizard automatically lists all the methods and properties available for the control. Select the one you want, and the code is automatically generated.

VisPro for Visual Basic also provides tools for efficiently changing control properties, positioning and sizing controls, changing the tab order of controls using drag and drop, and visually exploring existing applications. These and other VisPro for Visual Basic features are described in thefollowing sections.

General

Contacting HockWare

System Requirements

Event Tree

About

Viewing Controls and Events

Adding Events to Controls

Drag and Drop Programming

Programming with the Clipboard

VisPro Code Wizard

VisPro Common Dialog Wizard

List View

About

Viewing and Changing Properties

Viewing Specific Controls

Viewing Specific Properties

Changing Properities

Copying a Property

Changing the Tabbing Order

Event Map

About

Using

Code Cache

About

Using

Alignment Palette

About

Using


About Alignment Palette
VisPro Alignment Palette

The VisPro Alignment Palette allows you to neatly position your controls on the form. For example, you can select all your CommandButtons and specify that they are to be aligned with the leftmost CommandButton. You can also specify that the selected controls should have the same horizontal and/or vertical size.


Using Alignment Palette
Sizing and positioning controls

VisPro for Visual Basic includes an alignment palette that allows you to easily adjust the size and position of your controls. For example, you can center all your controls, align them, or make them the same size. This chapter explains how to use the alignment features.

Changing the alignment of controls

To change the alignment of your controls, from your open form, select VisPro Alignment Palette from the Visual Basic Add-Ins menu.

The VisPro Alignment Palette appears.

Select the controls you want to change, then select any of the following items on the VisPro Alignment Palette:

Note: These choices are available only when more than one control is selected.

•	Align left: Arranges the selected controls so that the left edge of eachcontrol is aligned with the left edge of the control farthest to the left.

•	Align right: Arranges the selected controls so that the right edge of each control is aligned with the right edge of the control farthest to the right.

•	Center horizontally: Centers the selected controls horizontally. The vertical positions of the controls are not affected.

•	Align top: Arranges the selected controls so that the top edge of each control is aligned with the top edge of the topmost control.

•	Align bottom: Arranges the selected controls so that the bottom edge of each control is aligned with the bottom edge of the control on the bottom.

•	Center vertically: Centers the selected controls vertically. The horizontal positions of the controls are not affected.

•	Center: Centers the selected controls both horizontally and vertically.

•	Space horizontally: Evenly spaces the selected controls across the horizontal area covered by the objects. For example, if three one-inch wide CommandButtons cover an area that is six inches wide, the CommandButtons will be evenly spaced with one and one-half inches between each CommandButton. The vertical placement of the controls is not affected.

•	Space vertically: Evenly spaces the selected controls across the vertical area covered by the objects. For example, if three one-half inch deep CommandButtons cover an area that is three inches deep, the CommandButtons will be evenly spaced with three-quarters of an inch between each CommandButton. The horizontal placement of the controls is not affected.

•	Same width: Makes all the selected controls the same width as the first selected item.

•	Same height: Makes all the selected controls the same height as the first selected item.

•	Same size: Makes all the selected controls the same height and width as the first selected item.


About Code Cache
VisPro Code Cache

The VisPro Code Cache gives you more programming options for creating basic code constructs for such things as looping, conditional branching, message boxes, input boxes, file I/O, and more. You can also create code to access system objects such as the Screen, Clipboard, Printer, Error information, and the App (Application) object.


Using Code Cache
Adding code constructs

The VisPro Code Cache allows you to add various code constructs to your program using drag and drop operations. This chapter explains how to use the VisPro Code Cache and describes the constructs available.

To use the VisPro Code Cache if you are in the VisPro Event Tree, select VisPro Code Cache... from the View menu. If you are in a Visual Basic Code window, select VisPro Code Cache... from the Visual Basic Add-Ins menu. The VisPro Code Cache window appears.

Select the various plus-signs to expand the list. This shows the individual choices for each type of construct.

You can use the VisPro Code Cache to add code to your events by simply dragging items to a Visual Basic Code Window. Alternatively, you can put code onto the system clipboard by selecting Create Code to Clipboard from the Edit Menu. You can use the Visual Basic Paste command to paste the code into a Code Window.

For items in the System Objects section, the VisPro Code Wizard is displayed, allowing you to create code for method calls and to set or get property values for the system object.

Items in the Wizards section will display a wizard for the specific item. Items in all remaining sections will simply create the code without prompting you.


About List View
VisPro List View

The VisPro List View displays all the property information for your controls in a spreadsheet-like format. You can filter the information to make it display only the controls or properties you want to see. You can change the information for any property from this single location, and you can apply that change to any other controls simply by copying and pasting. The VisPro List View allows you to change the tabbing order of your controls by simply dragging them to a different location within the list.


Viewing and changing properties

The VisPro List View allows you to view all the properties associated with your project's controls in an easy-to-read spreadsheet format. From the VisPro List View, you can easily do the following:

•	Filter information to view specific properties

•	Filter information to view properties for certain types of controls

•	Cut and Paste properties from one control to another

•	Change properties all at once, in one window

•	Change the tabbing order of your controls using drag and drop

To use the VisPro List view, open your project and select VisPro List View from the Visual Basic Add-Ins menu.


Viewing specific controls

You can filter the specific controls that appear in the VisPro List View. To do so, select the View menu from the VisPro List View.

From the View menu, you can select any of the following choices:

•	All: Displays all the controls and menus for your form.

•	Controls: Displays only the controls in your form.

•	Menus: Displays only the menus in your form.

•	Text controls: Displays only those controls that can have text associated with them.

•	Like controls: Displays only those controls for which there are two or more in the form.


Viewing specific properties

To indicate the particular properties you want to view for your controls, select Add/Delete Properties... from the View menu of the VisPro List View. All the properties available for the VisPro List View are displayed in a list. Select or deselect any of the displayed properties and then select OK. The VisPro List View displays the values of the properties that you selected.

A brief description of some of the properties appears below. For a complete description of each property, refer to your Visual Basic documentation.

•	Name: Indicates the type and number of the control. For example, the second CommandButton you add to your form will carry the name of Command2.

•	Class name: Indicates the type of the control. For example, TextBox.

•	Caption: The name or description that appears on a control. For example, a Clear CommandButton will bear the caption Clear.

•	Appearance: The number of times a control type appears in the form. For example, if there are three TextBoxes in the form, the Appearance box for each TextBox control will say 3.

•	Index: If the control is part of a control array, the array index is displayed.

•	TabIndex: The position of a control's tabbing order. For example, if a ListBox is the third control in the form that a user tabs to, its TabIndex is 3.

•	Left: The location on the form (in Twips) of the left side of the control.

•	Top: The location on the form (in Twips) of the top side of the control.

•	Width: 	The horizontal measurement of the control (in Twips).

•	Height: The vertical measurement of the control (in Twips).

•	BackColor:	The background color of the control. For example, on a 	CommandButton, the background color would be the color of the CommandButton, and the foreground color would be text on the button. In the Property field of the VisPro List View, three dots (...) appear after BackColor. Selecting the dots presents a window that allows you to select any background color you want.

•	ForeColor: The foreground color of the control. For example, the text on a CommandButton. In the Property field of the VisPro List View, three dots (...) appear after BackColor. Selecting the dots presents a window that allows you to select any background color you want.

•	Font: The font type and point size of any text associated with a control. In the Property field of the VisPro List View, three dots (...) appear after Font. Selecting the dots presents a window that allows you to select any font you want.

•	Visible: 	Indicates whether or not the control will be visible to the user. The choices are TRUE (it will be visible) or FALSE (it will not be visible).

Note: If a property is not applicable to a particular control, that box will be filled with N/A.


Changing properties

Use the VisPro List View to quickly and easily change control properties for your form. To do so, complete the following steps:

1.	From your form, select VisPro List View from the Visual Basic Add-Ins menu.

2.	The VisPro List View appears.

3.	Select the cell for the property you want to change.

4.	The Property field fills with the item you selected. In some cases there will be a ... CommandButton or a drop-down arrow beside the Property field. Select the CommandButton or drop-down arrow to specify your choices.

5.	If there is no CommandButton or drop-down arrow, type over the text in the Property field. The change becomes effective after you tab or click outside of the Property field.


Copying a property

To copy a property to multiple cells , complete the following steps:

1.	Select the property you want to copy to other cells.

2.	Select Copy property from the Edit menu. (Alternatively, you can select the Copy icon beside the Property field.)

3.	Using drag selection, select the cells you want to apply the property to.

4.	Select Paste property from the Edit menu. (Alternatively, you can select the Paste icon beside the Property field.)

All the controls now have the same property.


Copying a Property
Changing the tabbing order

From the VisPro List View, you can use drag and drop to easily change the tabbing order of your controls. To do so, complete the following steps:

1.	While holding down the Ctrl key, use the left mouse button to drag the control to the new location you want.

2.	Release the mouse button.

The control appears in its new tabbing order.

 Change the tabbing order of as many controls as you want using this drag and drop method.


About Event Map
VisPro Event Map

The VisPro Event Map presents a pictorial diagram of an existing form. Relationship lines with hotspots are drawn between controls. Selecting these lines or hotspots gives such information as the name and type of each control, the events each control uses, the methods or properties of other controls that a control event accesses. You can activate pop-up menus on a hotspot that allow you to view the code for a specific event.


Using Map View
Determining relationships between controls with the VisPro Event Map

Whenever a control's method is called or a control's property is accessed from an event, there is an inherent relationship between that control and the control that owns the event. The VisPro Event Map displays these relationships in a diagram. Each control-event/control-method interaction is displayed as a line originating at the control with the event, to the control whose method or property is accessed by that event.

To explore an application with the VisPro Event Map, you can use the ListBox sample form in the Controls sample. With Visual Basic open to the Controls sample application, select VisPro Event Map... from the Visual Basic Add-Ins menu.

The VisPro Event Map appears.

Select frmListBox from the Form drop-down list.

Note: If frmListBox is already the active form, the VisPro Event Map will start loading the form as it opens, eliminating the need for selecting it from the Form drop-down list.

The contents of the ListBox sample form appear in the VisPro Event Map.

Each relationship line in the VisPro Event Map has the following hotspot symbols:

•	A circle indicates events for a control.

•	A square indicates the midpoint hotspot of the relationship between two controls.

•	Arrows indicate the control's properties and methods accessed by an event.

When the mouse is over a hotspot, the relationship line is selected and it is highlighted.

You can do the following from the VisPro Event Map:

•	Identify  all the methods and properties that are accessed by all the events of a control: Move the mouse over a circle hotspot at the origin of a relationship line to view the name and type of control followed by the events it uses and what methods/properties of other controls those events access. This allows you to examine all the controls accessed by all the events of the single control.

•	Determine the relationship between two controls: Move the mouse over the square midpoint hotspots at the midpoint of a relationship line to display all the methods and properties of one control that are accessed by the events of another control. This allows you to examine what methods/properties of one control are accessed by what events of another control.

•	Determine what controls/events affect a specific control: Move the mouse over the tip of an arrow hotspot at the endpoint of a relationship line. All the relationship lines ending at that hotspot will be highlighted and a list of the controls/events that access that control will appear. This allows you to examine all of the controls that access the methods/properties of a single control.

•	View the code for an event: Select the right mouse button on a hotspot to display a pop-up menu for all the events for that hotspot. Select an event from the pop-up menu to display the Visual Basic Code window open to that event.

Try exploring all of the forms within the Controls sample application. Open other samples and view the forms within each. You will find that some of the sample applications are very simple, with very few relationships between controls. Others will prove to be very complex, with a veritable rat's nest of relationship lines. Exploring such complex applications can take some time, moving to each hotspot sometimes several times until you see the big picture. However, this is infinitely preferable to trying to figure it out without this visual aid. You will find that using the VisPro Event Map and the VisPro Event Tree will allow you to learn how a form works, much faster than clicking your way through the Visual Basic Code window.


About Event Tree
VisPro Event Tree

The VisPro Event Tree displays your controls, and any events associated with them, in a neat, tree-like structure. Control types appear in a list. By simply clicking, you can expand this list to see the individual controls for that type. Click on a control, and any events associated with that control are displayed. If you select an event, the code associated with it appears in the Visual Basic Code window to the right of the VisPro Event Tree.

The VisPro Event Tree makes it easy for you to see and change any of the events or code associated with your form's controls in one place. The VisPro Event Tree is also where you program your application using drag and drop programming.


Viewing Controls and Event
Viewing controls and events

It can be difficult to explore the code for a form with the Visual Basic Code window. It requires clicking on the control in the object drop-down list to see which controls have events. You must then expand the Proc drop-down list, searching for event names in a bold font, which indicates that the event contains code. Repeating this process for every control on a form is tedious and requires an extraordinary memory to see the big picture.

The VisPro Event Tree eliminates this problem by listing all the controls and events for a form as icons below an event's respective control, in a tree-like fashion. Clicking on an event icon produces the Visual Basic Code window so that the contents of that event are displayed.

To illustrate how this works, let's explore the ListBox sample form in the Visual Basic Controls sample.

Follow these steps:

1.	From the Visual Basic File menu, select Open Project....

2.	The Open Project window appears.

3.	Select samples from the Directories ListBox, then select OK to view the contents of the samples directory.

4.	Select controls from the directory ListBox, then select OK to view the contents of the controls directory.

5.	Select controls.vbp from the file ListBox, then select OK to open the controls sample.

6.	Select VisPro Event Tree... from the Visual Basic Add-Ins menu.

 Select frmLISTBOX from the Form drop-down list.

Note: For complex forms, it may take a while for VisPro to analyze all the controls on a form and all the events for each control while filling the tree.

The General section appears at the top, with declarations and any local procedures appearing in that section. The Form section appears next, listing any form events. Controls are then listed, grouped by control type. Controls with one or more associated events contain a +/- icon to the left of the control name. When contracted, the icon is a plus sign and the event icons for that control are hidden. When expanded, the icon is a minus sign, indicating that the events are visible and can be hidden.

Note: For the 16-bit version of Visual Basic, these icons do not appear. Only text appears in the tree.

To view the code associated with a control event, select the event icon beneath the control. The code appears in the Visual Basic Code window to the right of the VisPro Event Tree.


Adding events to controls

To specify an event for a control, select the control, and then select Event from either the Edit menu or a pop-up menu (press the right mouse button). The Event menu appears, prompting you to select your event. When you do so, code for the event appears in the Code window to the right of the VisPro Event Tree.

Note: You can also access events from a pop-up menu. To display a pop-up menu, click the right mouse button on a control icon in the VisPro Event Tree.


Drag and drop programming

You can use drag and drop programming to specify a property or method for a control. To do so, hold down the left mouse button as you drag to the Code window, stopping just above the end command code. Release the mouse button. The VisPro Code Wizard window appears, prompting you to select a property or method for which to generate code into the event.

Note: You cannot drag the Control type icons or the General section for your form. However, you can drag control icons or the icon representing the form.  Also, you can drag items to a Code window for another form. This will produce code that uses fully-qualified control names, specifying both the form name and the control name, as well as the name of the method or property for the control. For example, to clear a ListBox in a form called Form1 from an event in another form, the code created would look like this:

Form1.Listbox1.Clear


Programming with the clipboard

As an alternative to using drag and drop programming, you can use the clipboard in the VisPro Event Tree to paste code to either your current form or  another form. The methods for doing this are described in the following sections.

Pasting code to your current form

To use the clipboard to paste code to your current form, complete the following steps:

1.	Select the control for which you want to create code to call a method or access a property.

2.	Select Create code to clipboard from the Edit menu.

3.	Select For This Form.

4.	The VisPro Code Wizard window appears.

5.	Select the method or property you want to use, then select OK.

6.	The code is added to the clipboard.

7.	Select the event you want and paste the code to the Code window.

8.	The code is pasted to the event.

Pasting code to another form

This menu item allows you to create code for use in an event on a form other than the one where the control resides. The code created will refer to the control with a fully-qualified name, specifying both the form name and the control name, as well as the name of the method or property for the control. For example, to clear a ListBox in a form called Form1 from an event in another form, the code created would look like this:

Form1.Listbox1.Clear

To use the clipboard to paste code to another form, complete the following steps:

1.	Select the control for which you want to create code to call a method or access a property.

2.	Select Create code to clipboard from the Edit menu.

3.	Select For Another Form.

4.	The VisPro Code Wizard window appears.

5.	Select the method or property you want to use, then select OK.

6.	The code is added to the clipboard.

7.	From the Form drop-down list, select the form you want to paste the method or property to. Open a VisPro Event Tree for the form.

8.	Select the event you want and paste the code to the Code window.

9.	The code is pasted to the event.

Note: You can also open another Code window by selecting a form from the Visual Basic Project window and selecting the View Code CommandButton.


VisPro Code Wizard

The VisPro Code Wizard produces code automatically for you when you perform drag and drop operations in the VisPro Tree View. When you drag a control to an event in the Event Tree View, the VisPro Code Wizard appears, listing all the methods and properties available for that control. Select the method or property you want to use. If any parameters need to be specified, the VisPro Code Wizard prompts you to do so. The code is produced automatically for you.

Specifying methods and properties with the VisPro Code Wizard

In the previous chapter, you learned how to specify or select an event for a control. You then learned how to drag a control to the Code window to produce the VisPro Code Wizard window. This chapter explains how to use the VisPro Code Wizard window.

The VisPro Code Wizard window lists all the properties and methods available at runtime for the control you are working with. Properties and methods appear in the VisPro Code Wizard window under the following three categories:

Methods: Lists the actions that can be performed upon a control. For example, you can select the Clear method for a ListBox to create code that clears the contents of the ListBox.

Get properties: Lists the properties you can query about a control. For example, the ListCount property can tell you how many items are in a list. Only readable properties are available under the Get properties list.

Set properties: Lists the properties you can specify for a control. For example, you can specify the font or background color for a CommandButton. Only writable properties are available under the Set properties list. Read-only properties are excluded. For example, the ListCount property for a ListBox control is a read-only property; therefore, it appears in the Get Properties section but not in the Set Properties section.

Getting information about a property or method

To get a brief description of a method or property in the VisPro Code Wizard window, select the method or property. A description appears in the Information line at the bottom of the window.

Selecting the Help CommandButton opens the Visual Basic Help window, displaying information about the selected property or method.

Generating code for a property or method

To add code for the method or property to the Code window and then close the VisPro Code Wizard window, select OK.

To add code for multiple methods or properties for a control, select the first method or property, and then select Apply. Repeat for your other methods or properties. When you are finished using the VisPro Code Wizard window, select Cancel.

Specifying method parameters and property values

Some methods and properties require you to specify values for parameters. If parameter values are to be specified, corresponding fields appear on the VisPro Code Wizard window to the right of the method/property list for setting the appropriate values.

For example, the AddItem method for a ListBox control requires two parameters. Both can be specified using the parameter fields labeled Item string and Item index. Setting the Text property of a TextBox requires one property. This can be specified using the parameter field labeled Property. No parameter is required to query the Text property of a TextBox; therefore,  no parameter field appears in the VisPro Code Wizard.

To display a description of a parameter, move the mouse over a parameter field or field label. A description will appear on the information line at the bottom of the VisPro Code Wizard window.

Variables vs. literal values

A parameter value can be specified as a variable or as a literal value. If the parameter is not optional, a default variable name appears in a parameter field. You can override the name by typing in the name of your own variable or literal value.

For example, a variable named aNumber that contains an integer value could be specified as a parameter. Alternatively, you could type in a literal value such as 2. A string type parameter would default to aString. You could type in your own variable name or a literal value such as "Hello."

String parameter types

The default variable name for a string parameter type is aString. In some cases, there is a drop-down list of possible literal values from which you can select a value. For example, selecting FontName from the Set Properties section will display a list of possible literal font names that the property can be set to.

You can also type literal text into a parameter field for a string type parameter. Note that literal string types must be surrounded by quotes; otherwise, Visual Basic tries to interpret the text as one or more variable names. For convenience, select the Add "" OptionBox to surround the field's contents with quotes when the code is generated. If you type a space character into a string type parameter field, the Add "" CheckBox is selected automatically because it is assumed that you are typing a literal string value. This occurs because Variable names cannot contain spaces; only string literal values can.

Integer parameter types

The default variable name for an integer parameter type is aNumber. You can  type over it to provide the name of your own variable or a literal numeric value.

For some parameters of this type, a drop-down list of literal numeric values or constants will appear. You can select an item from this list to be used as the parameter's value. For example, selecting FontSize from the Set Properties section will display a list of possible font sizes that the property can be set to.

Boolean parameter types

The default variable name for a boolean parameter type is aBoolean. Boolean parameter types always display a drop-down list containing the literal values True and False. For example, selecting FontBold from the Set Properties section will display a drop-down list allowing you to generate code that sets the property value to True or False.

Parameter wizards

Some parameter types display a ... CommandButton beside the parameter's value field. Selecting this button displays a parameter wizard for selecting the value of this parameter. The parameter wizards available are described in the following sections.

Picture type parameter wizard

The Picture type parameter wizard allows you to select the picture you want to load for a parameter. For example, you can set the Picture property for an Image control, PictureBox control, or form . The wizard offers the following choices as sources from which to retrieve the picture:

From file: Select this choice if the picture is to come from a .bmp or other picture file. Then select the Find... CommandButton. An Open dialog appears, prompting you to specify the location of the picture file.

From resource: This choice is enabled only if a resource file has been added to the project. After selecting this choice, select the bitmap, icon, or cursor resource from the drop-down list to use for the picture parameter.

A preview window displays the picture you have selected. Once you have selected a picture, select OK. The code for loading the picture will appear in the parameter field of the VisPro Code Wizard.

Icon type parameter wizard

The Icon type parameter wizard is the same as the Picture type parameter wizard, except that it is limited to icons and cursors. For example, when generating code to set the MouseIcon property for an Image control, the ... button presents an Open dialog, allowing you to select an icon or cursor name.

Font type parameter wizard

The Font type parameter wizard displays the standard Font dialog, allowing you to select the parameters for a control. These parameters include font type, size, and attributes, such as underline. After choosing a font and its attributes, select OK. The font attributes you selected will appear in the parameter field of the VisPro Code wizard. Selecting OK or Apply from the VisPro Code wizard will create code that sets the FontName, FontSize, FontBold, FontItalic, FontUnderline, and FontStrikeTrough properties of a control to the values selected from the Font dialog.

Filename parameter wizard

The Filename parameter wizard allows you to select a file name using a standard File Open dialog. For example, when generating code to set the DatabaseName property for a Data control, the ... button allows you to select a database name for the control using a File Open dialog. After choosing a file, select OK from the File Open dialog to display the fully-qualified path of the file you selected in the corresponding parameter field.

Directory name parameter wizard

The Directory name parameter wizard displays a dialog that allows you to specify a directory name. For example, wen generating code to set the PATH property for a DirectoryListbox control, selecting the ... button will display the directory name parameter wizard.

Color type parameter wizard

The Color type parameter wizard displays a dialog that allows you to specify a color value. For example, when generating code to set the BackColor or ForeColor properties of a control, selecting the ... button will display a color selection dialog. Once you have selected a color from the color dialog, select OK. The hexadecimal value for the color you chose will appear in the corresponding parameter field.

Optional parameters for methods

Sometimes a method contains optional parameters. For example, you may have the option of providing an item index for a ListBox's Additem method. If so, a blank field will appear in the VisPro Code Wizard window. You can type into this field or, if you do not want to use it, leave it blank.

Note: The Description field on the VisPro Code Wizard window will state <optional> before the description if the parameter is optional.

Filtering the VisPro Code Wizard window

You can specify that the VisPro Code Wizard window is to show only certain methods and/or parameters. When the VisPro Code window appears, check any of the following choices under the list:

Show only commonly used items: Displays only those items that are needed to get started programming the control. Most controls have many methods and parameters that are necessary for unique applications. Viewing all these items can be overwhelming when you first get started with a new control. For example, when you first use a ListBox control, all you need to get started is items for adding items, deleting items, accessing selected items, and clearing the list. Properties such as ItemData and TopIndex may be  needed only as you refine your application; therefore, you can hide them by selecting this option.

Show only unique items: Lists only those choices that are available exclusively for this control. Selecting this OptionBox eliminates common items such as position, size, color, and font, which can clutter the list when you are trying to learn a new control.

Generating comments

You can choose to generate code with or without comments that describe the code. To include comments, select your property or method. Then, check Generate comments, and select Apply or OK.


VisPro Common Dialog Wizard

The VisPro Common Dialog Wizard steps you through the creation of code for a Print dialog, a File dialog, a Save dialog, a Color dialog, a Font dialog, or a Help dialog.