Sunday, January 4, 2009

Adding Menus to Your VB Application

Most windows programs provide menu bar for easy navigation and control. The most common items are like File, Edit, View, Tools, Help and more. Each item on the main menu bar also provide a list of options in the form of a pull-down menu.

Adding menu bar is easily accomplished in Visual Basic. To start adding menu items to your application, open your file and then click on Tools in the menu bar of the Visual Basic IDE, then select Menu Editor. When you click on the Menu Editor, the following window will appear. In the Menu Editor, key in the items such as File, Edit, View and etc. The & sign will be the shortcut to initiate the action under this item by pressing the Alt key and the letter shown after the & sign. The letter will be underlined. Below are the diagrams:


More details will be discussed in future posts.

1 comment:

Anonymous said...

lol,so nice