Creating menus
To create menus in VB you use the Menu
Editor. You can find this under Tools | Menu Editor. The VB Menu editor:
To create a top menu (i.e. File), use the
following steps:
1) Select Tools | Menu Editor
2) Enter the text to be displayed for the
menu in the Caption text box (i.e. File). As always you can use the & to set the
Shortcut key: So &File would display the menu File and could be accessed by
Alt+F
3) Enter a name for the menu. This will be
used when accessing the menu's properties in your code.
4) Make sure that there are no dots before
File in the list box (i.e. ...File). If there are, press the < button on the dialog box
until there are none. These will be explained later.
5) Click OK. If you have used the examples,
you will now see something like this:
When you click the menu, you will see there
are no Menu Items. This will be explained in the next section