Menu Title and Naming Guidelines

See Also

To maintain consistency with other applications, it's a good idea to follow established naming guidelines when creating menus.

Setting the Caption Property

When assigning captions for menu items, you should try to follow these guidelines:

Menu Naming Conventions

To make your code more readable and easier to maintain, it's a good idea to follow established naming conventions when setting the Name property in the Menu Editor. Most naming convention guidelines suggest a prefix to identify the object (that is, mnu for a menu control) followed by the name of the top-level menu (for example, File). For submenus, this would be followed by the caption of the submenu (for example, mnuFileOpen).

For More Information   For an example of suggested naming conventions, see "Visual Basic Coding Conventions."