Changes

Creating Top-Level Menus in Visual Basic

669 bytes added, 20:27, 23 July 2007
Creating a Top-Level Menu
* '''ComboBox''' - adds a combobox control to the menu. although you have the option of adding a combobox to your menu you should resist the urge to do so. comboboxes are generally not placed in menus.
 
'''separator''' - places a separator after the last menu item to be added. useful for distinguishing between groups of menu items.
 
'''textbox''' - adds a textbox control to the menu. as with the combobox, you should resist the temptation to add such a control to a menu as it violates gui design convention.
 
for our example we will add a separator. to do so simply click on the separator option in the menu.
 
finally add an ''e7xit'' item to the file menu.
 
click in the ''type here'' field next to the ''file'' menu and enter ''7edit'' to create an edit menu. use the same technique outlined above to add ''cut'', ''copy'' and ''paste'' items to the 'edit' menu.