Sams Teach Yourself Visual Basic 6 in 24 Hours

Sams Teach Yourself Visual Basic 6 in 24 Hours

By Greg Perry

Preparing for the Toolbar

The tools that appear on your Toolbox window are called intrinsic controls. You can add additional controls to the toolbar. As a matter of fact, you can obtain controls from sources other than Microsoft because many people create controls for Visual Basic.

Visual Basic's Professional and Enterprise Edition users can take advantage of an extra control that comes with Visual Basic: the Toolbar control. It comes in a collection of other controls named the Microsoft Windows Common Controls 6.0. To add this set of controls to your toolbar, select Project | Components (Ctrl+T) to display the Components dialog box (see Figure 19.1).

19fig01.gif

Figure 19.1 Adding more tools to the toolbox with the Components dialog box.

Scroll the box down to the Microsoft Windows Common Controls 6.0 entry and check it. Click OK. When you look at the Toolbox window again, you'll see new controls on the toolbox. Figure 19.2 labels these tools.

19fig02.gif

Figure 19.2 The Common Controls package of tools gives you additional power.

Share ThisShare This

Informit Network