O'Reilly logo

Sams Teach Yourself Visual Basic® 6 in 24 Hours by Sanjaya Hettihewa, Greg Perry

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 19. Toolbars and More Graphics

In Hour 17, "Menus and Visual Basic," you learned how to add menus to your applications. Many applications use toolbars with buttons that mimic menu options. Toolbars are part of most major Windows applications, and they can be part of yours as well. In addition, you can draw your own graphics on the form. Although VB's graphic-drawing tools are fairly primitive, you can draw lines and circles and other basic shapes to accent and highlight areas of your form.

The highlights of this hour include

  • What the Image List control does

  • How to add the Toolbar control to the Toolbox window

  • Why you must connect the image list to the toolbar

  • How to respond to toolbar events

  • When to use the Line and Shape controls

  • How to accent ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required