Changes

Jump to: navigation, search

Building a Visual Basic Toolbar

18 bytes added, 20:54, 26 July 2007
no edit summary
Toolbars are referred to in Visual Basic as ''ToolStrips''. The first step in creating a toolbar is to add a ''ToolStrip'' control to the form. Begin by starting Visual Studio and creating a new Windows Application project named ''vbToolbar'' (for details on creating new project see [[Creating a New Visual Basic Project]]). When the new project has been created and the default form appears display the ''Toolbox'' and double click on the ''ToolStrip'' control to add it to the form:
[[Image:Examplvisual_basic_new_toolbar.jpg]]
Various types of control can be added to a toolbar. To add a control, simply click on the down arrow of the button on the toolbar. A menu will appear listing the various types of control which may be added. Select a button control. Once the new button control has been added, right click on the button to display a menu containing various options for modifying the control (including setting a new image on the button).

Navigation menu