Menus and toolbars provide a structured and accessible route for users to leverage the commands and tools contained in your applications. Proper planning and design of menus and toolbars will make sure the key functionality of your applications is exposed, and users will not become frustrated as they try to use your applications. For information about customizing Visual FoxPro toolbars, see Customizing the Visual FoxPro Environment.
Users often browse menus before looking elsewhere for information about your application. If your menus are well designed, users can organize their understanding of the application by developing a mental model based on the menu organization and content alone. With the Visual FoxPro Menu designer, you can create menus that enhance the quality of your applications.
Each part of a Visual FoxPro application can have its own menu system or set of menus. The following topics describe how to create a menu system. For details about adding menus to an application, see Compiling an Application.
In This Section
- Menu System Creation
- Describes the Menu designer, where you create the menus, submenus, and menu options.
- Creating Menus, Shortcut Menus, Menu Items, and Submenus
- Discusses how to create menus, shortcut menus, menu items, and submenus to navigate and access features in your application.
- How to: Add Cleanup Code to a Menu System
- Describes how to customize menu systems by adding cleanup code to it.
- How to: Add Setup Code to a Menu System
- Explains how to customize a menu system by adding setup code to it.
- How to: Assign Access Keys and Keyboard Shortcuts
- Explains how to assign access keys and keyboard shortcuts to your menus for better functionality.
- How to: Control Menus at Run Time
- Describes how to control menus during run time.
- How to: Enable and Disable Menu Items
- Explains how to enable or disable a menu or menu item based on a logical condition.
- How to: Include Menus in an Application
- Explains how to include a menu system in your application.
- How to: Perform Tasks with Commands
- Explains how to perform at task by assigning a command to a menu or menu item.
- How to: Perform Tasks with Procedures
- Describes how to assign a procedure to a menu or menu item.
- Creating Custom Toolbars
- Discusses how to add custom toolbars to simplify or speed up tasks in your application.
- How to: Test and Debug a Menu System
- Explains how to preview a menu system as you design it, or test and debug it after generating the menu program.
- How to: Customize a Menu System
- Explains that after creating a basic menu system, you can customize it. For example, you can create status bar messages, define menu locations, or define default procedures.