MENUS, STANDARD CODE MODULES
MENUS Menus consist of a menu bar with menu names, each of which drops down to display a list of menu commands. To use menu commands to activate a procedure. Defining Menus To use the Menu Editor window in VB to set up your menus. Figure shows the Menu Editor window with the various parts labeled. The Caption The Caption property holds the words you want to appear on the screen (just like the Caption property of a label or command button). Use the ampersand (&) in the Caption to specify the key to use for keyboard access. For example, for File, the Caption should be &File. i.e., Press Alt+F, to open the File menu. The Name The Name box indicates the name of the menu control, similar to other controls. The Name is required. Naming Standards The three-character prefix for a menu name is “ mnu ”. Therefore, the name for the File menu should be mnuFile . Submenu...