DataEase » Support » Knowledge Base » DataEase 7.2 Articles » How to Add a Pull-down Menu Option for a Document

1. Open the document in Designer View. Choose Document>>Custom Menu. DataEase opens the “Menu Editor” dialog;

2. Highlight the item below the menu name and click Insert. DataEase inserts a space under the menu name;

3. If you want the menu item to open a cascade menu, select Menu. If you want the menu item to execute a command, select Command, choose an action from the drop-down list, and, if necessary, enter a parameter;

4. Enter the item name in the Menu Text box as you want it to appear in the menu. DataEase automatically enters this name in the Sample Menu;

5. Click the right arrow  button once to move the item to its correct level in the menu hierarchy;

6. In the Menu Text box, type an ampersand (&) before the keyboard equivalent character;

7. In User View, you can press Alt and this character to choose the menu;

8. In the Title Help box, enter a message that will appear in the Title Bar when the option is highlighted in User View;

9. To add an accelerator key combination, check the Alt, Ctrl, and/or Shift key boxes, and then select an item from the drop-down list;

10. In User View, you can use this keyboard accelerator to execute this command instead of choosing the option from the menu. DataEase automatically displays this accelerator on the menu;

11. If the menu item opens a cascade menu, return to step 2 to add menu options. If the menu item directly executes a command, select an action, and, if necessary, enter a parameter;

12. Repeat steps 2-9 until all menu options have been inserted. Click OK to close the dialog and return to the document. DataEase displays the menu(s) in User View.