O'Reilly logo

Application Development Using Visual Basic® and .NET by Dana L. Wyatt, Peter Thorsteinson, Robert J. Oberg

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

Toolbars

The ToolBar control is used on forms to display a row of buttons that invoke commands (similar to clicking a menu item). VB.NET toolbars generally use an ImageList control to maintain the images displayed by the toolbar. Each button on the toolbar is associated with an image from the image list.

The ToolBar class has a Buttons collection that represents the buttons on the toolbar. Properties such as Appearance, Autosize, and Wrapable control the appearance of the toolbar.

The ToolBarButton class has properties that configure the individual buttons on the toolbar. This class has many interesting properties, including:

  • ImageIndex indicates the image number from the ImageList control of the image associated with this button.

  • Text indicates ...

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