A popup form is a special kind of form
that can be added to a form group.
Fundamentally, a popup form is the same as an ordinary text form,
but popup
forms are created with pre-made features like borders and sections.
To create
a popup form in the EGL Text Form editor, follow these steps:
- Open
a form group in the Text Form editor.
- On the Palette view,
click Popup Form.
- On the form group
in the editor, click and drag a rectangle that indicates
the size and shape of the popup form. The Create Form Part window
opens.
- 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.
- Click OK. The
New Popup Form Template window opens.
- In the New Popup Form
Template window, specify the characters to use for
the form's borders in the Vertical Character and Horizontal
Character fields.
- Click a color for the border
from the Color list.
- Click an intensity
for the border from the Intensity list.
- Click
a highlight value from the Highlight radio
buttons.
- Repeat the following steps for each section that
you want to add to the
form. You must add at least one section to the form.
- Under Popup
Sections, click the Add button.
The Create Popup Form Section window opens.
- In the Create
Popup Form Section window, type a name for the section in
the Section Name field.
- In the Number
of rows field, type the number of
rows in the section. Do not type a number greater than the number
of remaining
effective rows, which is displayed at the bottom of the New Popup
Form Template
window.
- Click OK.
- Use the Up and Down buttons
to set the order of the fields.
Note: The total number of
rows in the popup field's sections cannot exceed
the total number of rows in the popup field. When adding sections,
pay attention
to the Remaining Effective Rows field and remember
that dividers between the sections require an additional row for each
new
field.
- When you are finished adding sections to the
popup field, click Finish.
The new popup form is created in the editor.
- Add fields to
the form as appropriate. SeeCreating a constant field and Creating a variable field.