The document discusses menus and the menu editor in Visual Basic. It describes the elements of a menu, including the menu bar, menu title, menu items, and separator bar. It then explains how to use the menu editor to add menus and menu items, set properties for menu commands, and design menus with best practices like using short names and logical groupings. Finally, it provides instructions for adding menus to a sample project.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
62 views
Visual Basic Menu Editor
The document discusses menus and the menu editor in Visual Basic. It describes the elements of a menu, including the menu bar, menu title, menu items, and separator bar. It then explains how to use the menu editor to add menus and menu items, set properties for menu commands, and design menus with best practices like using short names and logical groupings. Finally, it provides instructions for adding menus to a sample project.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 8
MENUS AND THE MENU
EDITOR
Md. Saidur Rahman, CSC
Elements of a Menu Menu bar
Menu title
Menu items
Separator bar
Md. Saidur Rahman, CSC
The Menu Editor
Menu control properties
Menu title Menu items
Menu control list box
Md. Saidur Rahman, CSC
Separator bar
Setting Properties for
Menu Commands Name property - assigns the name used to refer to the menu control in your code Enabled property - menu control appears dimmed (grayed out) when not enabled Caption property - assigns the command to display on the menu bar or submenus
Md. Saidur Rahman, CSC
Menus and the Menu Editor
Access key - underlined keyboard alternative to a menu command - Press Alt + key Shortcut key - assigned to most frequently used menu items Press Ctrl + key Separator Bar - divides menu items into logical groupings
Md. Saidur Rahman, CSC
Menu Design
Use short menu names, single word
Use unique menu items for each menu Group menus logically Choose a logical access key for menu items Choose logical keyboard shortcuts for most commonly used commands Md. Saidur Rahman, CSC
Save project files with a new name Add menu titles Add menu items Modify the About form Add the HowTo form and controls Add code to activate the menus Test the menus and forms Md. Saidur Rahman, CSC