How to: Add Setup Code to a Menu System
You can customize a menu system by adding setup code to it. Setup code can include code for creating the environment, defining variables, opening necessary files, and saving or restoring menu systems with the PUSH MENU and POP MENU commands.
To add setup code to a menu system
From the View menu, choose General Options.
In the Menu Code area, select Setup and then choose OK.
In the setup code window, type the appropriate setup code.
Your changes are saved when you close the Menu Designer.
See Also
Tasks
How to: Perform Tasks with Commands
How to: Add Cleanup Code to a Menu System
How to: Control Menus at Run Time