MENUS AND THE MENU EDITOR Elements of a
- Slides: 12
MENUS AND THE MENU EDITOR
Elements of a Menu bar Menu title Separator bar Menu items
The Menu Editor Menu control properties Menu title Menu items Separator bar Menu control list box
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
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
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
Add Menus to the Learning Arithmetic Project Hands-On Exercise 3 (P. 194 -204) – – – – Open the Learning Arithmetic project Save project files with a new name Add menu titles Add menu items Modify the About form Add the How. To form and controls Add code to activate the menus Test the menus and forms
Summary. . . • Design GUIs using 5 basic design principles 1. Know your end user 2. Be consistent 3. Use informative graphics and messages 4. Keep it simple 5. Let the user control the application • Design GUI on paper first
Summary • Add controls to forms using tools from the toolbox • Intrinsic controls are always in the toolbox • Active. X controls and Insertable Objects can be added to the toolbox • Use the Menu Editor to add menus • Add code to activate the menus
Practice with Visual Basic 1. Controls Demonstration Sample (p. 208) 2. MDI vs. SDI Interface Style (p. 208) 3. Graphic Explorer Project (p. 209) 4. My Calendar (p. 210)
Case Studies • • Create a Prototype Insertable Objects Active. X Controls from the Web Exploring MS Visual Basic 6 Copyright 1999 Prentice-Hall, Inc. 11
End of Lecture
- Nodes in blender
- Menus recipes and cost management
- Palettes and tear-off menus
- Palettes and tear-off menus
- Elements of wimp
- Meal order atau menu composition
- A menu repeats itself after a period of time
- Event trapping menus example
- Truth-in-menu
- Zclubfun
- The type of menu that offers the same dishes everyday
- Unitized group rations
- Explain factors to consider when proposing dishes for menus