

Implementing Your Application › CA 2E Toolkit Menus › Creating and Maintaining Menus
Creating and Maintaining Menus
To create or change a Toolkit menu, perform the following:
- From any command line, enter:
YGO *Y1.
The Toolkit Utilities Main Menu displays.
- From the Toolkit Utilities Main Menu, enter the Design Aids option.
The Toolkit Design Aids menu displays.
- From the Toolkit Design Aids menu, enter the Menu Commands option.
The Toolkit Menu Commands menu appears.
- From the Toolkit Menu Commands menu, enter the YWRKMNU Work with Menus option.
The Work with Menus panel displays.
- From the Work with Menus panel:
- In the Menu name field, enter the name of your menu.
- In the Library name field, verify that the library is the name of your generation library (GENLIB).
- Press Enter. The Work with Menu Details panel displays.
- To insert lines on your menu, from the Work with Menu Details panel enter the Insert Mode option.
While in this mode, Toolkit inserts a blank line each time you press Enter.
- Enter the information you want:
- Prefix—A word or two that categorizes options (optional).
- Opt—The character or number the user enters to select the menu. N in this field automatically numbers the options.
- Description—Title as you want it to display on the menu.
- Press Enter twice to end insert mode.
- Type Z (Details) against each menu option you have defined.
The Work with Menu Options panel displays for the first option.
- From the Work with Menu Options panel, change any defaults as needed. You can invoke the command prompter by pressing F4 (Prompt), typing Z (Details) against any option, and pressing Enter.
Notes:
- Exit and save:
- From Work with Menu Options, press F3 (Exit) twice. The Work with Menu Details panel displays, followed by the Exit Work with Menu panel.
- From Exit Work with Menu, enter the option Exit and replace menu.
The Toolkit Menu Commands menu displays.
Copyright © 2014 CA.
All rights reserved.
 
|
|