Creating Custom Toolbars
If your application includes repetitive tasks that users perform frequently, you can add custom toolbars to simplify or speed up the tasks. For example, if users typically print a report by choosing a menu command, you can simplify the task by providing a toolbar with a print button.
The following sections describe how to create custom toolbars for your applications. For details about customizing the toolbars that come with Visual FoxPro, see Customize Toolbar Dialog Box.
The following sections discuss:
- Defining a Toolbar Class
- Adding Objects to a Custom Toolbar Class
- Adding Custom Toolbars to Form Sets
- Coordinating Toolbars and Forms Using Code
- Defining Toolbar Actions
- Creating the Coordinated Menu
- Adding a Coordinated Toolbar and Menu to a Form Set
- Testing and Debugging a Menu System
- Customizing a Menu System
- Creating a Default Procedure for a Menu System