Creating menus

Creating menus in VB
1. Concept of menus- Menus are a convenient and consistent way of grouping commands. We can create menus in VB by using Menu Editor. Generally there are two types of menus:-
            1. Horizontal menu- known as menu bar
            2. Vertical menu- Known as Sub-menu
2. Designing menus- We can design menu by using menu editor. We can invoke menu editor by clicking at Menu editor button on the Standard toolbar or by using tools → Menu editor command or by using Ctrl+E shortcut key from the keyboard.
3. Assigning access-key
            i) First we need to select Menu Item to which we want to assign access-key
            ii) Now in the caption textbox we can type & (ampersand) symbol immediately                     infront of the letter that we want to use as access-key. E.g. If we write &File then F is                            the access key for this menu item.
4. Adding shortcut-key
            i) First we need to open Menu Editor
            ii) Now we can select the Menu Item
            iii) Now we can select shortcut key from the shortcut combo box
                  NoteWe can't assign shortcut key to a top level menu
4. Separating menu items
            i) First we need to write (-) hyphen symbol in the caption textbox
            ii) Now we can write the name & can click Ok button.