Creating a popup menu

A popup menu is a special kind of form that can be added to a form group. Fundamentally, a popup menu is the same as an ordinary text form, but popup menus are created with pre-made features like a title, help text, and a specified number of menu options. To create a popup menu in the EGL form editor, follow these steps:
  1. Open a form group in the form editor.
  2. On the Palette view, click Popup Menu.
  3. On the form group in the editor, click and drag a rectangle that indicates the size and shape of the popup menu. The Create Form Part window opens.
  4. In the Create Form Part Window, type a name for the form in the Enter part name field. This name will be the name of the form part in the EGL source code.
  5. Click OK. The New Popup Menu Template window opens.
  6. In the New Popup Menu Template, enter the size of the popup menu in the Width and Height fields. By default, these fields are populated with the size of the form you created in the editor.
  7. In the Menu Title field, type the title of the menu.
  8. In the Number of Menu Options field, type the number of menu options that the popup menu will have.
  9. In the Menu Help Text field, type any additional help text for the menu.
  10. Click Finish. The new popup menu is created in the editor.
  11. Add fields to the new popup menu and edit the existing fields as appropriate. See Creating a constant field and Creating a variable field.

Related concepts
EGL form editor overview
Editing form groups with the EGL form editor
Form templates in the EGL form editor

Related tasks
Setting preferences for the EGL form editor
Creating a form in the EGL form editor
Creating a constant field
Creating a variable field in a print or text form
Creating a popup form

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.