Previous Topic: Testing Fields on Wide PanelsNext Topic: Printing a Panel Definition


Editing a Panel Definition

There are three ways to display a panel definition for editing:

  1. Enter the following command on the command line.
    EDIT PANEL panelname [VERSION version]
    

    If you do not include a panel name, a prompter displays. Enter the panel name on the prompter to display the panel layout. If you do not want to edit the default version of the panel definition, you can enter the version on the EDIT PANEL command.

  2. Select option 1, DISPLAY/EDIT, from the Panel Maintenance menu. This displays a prompter. You must specify not only the name of the panel, but also whether you want to display or edit the panel.
  3. From the DISPLAY INDEX PANEL line command field, enter the line command EDI next to the name of the panel you want to edit.

When you edit a panel definition, the layout displays by default. To display the Identification fill‑in, the Field Definition fill‑in, or the Field Summary Table immediately, you can include a keyword on the EDIT command entered from the command line. See the Command Reference Guide for information on the keywords for the DISPLAY PANEL command.

You can enter the following commands when editing a panel definition:

IDENTIFICATION

Displays the panel Identification fill‑in for editing.

LAYOUT

Displays the panel layout for editing. You can specify BLANK or NULL on the LAYOUT command to control the fill‑mode to use when editing the panel layout. The default is null‑fill when editing, blank‑fill when creating a layout.

COPY

Displays the Copy Dataview fill‑in used for copying dataview fields into a panel definition.

SUMMARY

Displays the Field Summary Table in the lower region of the screen and part of the panel layout in the top region of the screen.

IRULES

Displays the Input Rules Table in the lower region of the screen and part of the panel layout in the top region of the screen.

ORULES

Displays the Output Rules Table in the lower region of the screen and part of the panel layout in the top region of the screen.

FIELD id

Displays the Extended Field Definition fill‑in for the specified field.

FACSIMILE

Displays the panel layout as it appears to the application user.

NEXT

Displays the Extended Field Definition fill‑in for the next field in sequence on the layout panel. When entered from a fill‑in other than the Extended Field Definition fill‑in, displays the Extended Field Definition for the first field on the layout.

PREVIOUS

Displays the Extended Field Definition fill‑in for the previous field in sequence on the layout panel. When entered from a fill‑in other than the Extended Field Definition fill‑in, displays the Extended Field Definition fill‑in for the last field on the layout.

INPUT

Opens a blank line for input in the panel layout. You can only enter this command when you are in the layout panel.

SCROLL

Moves the window left, right, up, or down over the displayed component.

POSITION

Moves the line containing the specified field to the top of the layout region and the definition entry for that field to the top of the attribute definition table region.

CHECKPOINT

Writes any changes from the edited original copy of the panel definition to the rollback copy of the panel definition.

ROLLBACK

Replaces the edited original copy of the panel definition with the rollback copy of the panel definition. Any changes made before the ROLLBACK command was issued from either the beginning of the editing session or the last CHECKPOINT are lost.

DISPLAY ROLLBACK

Displays the rollback copy of the panel definition without overwriting the edited original copy of the panel definition.

See the section titled Restoring Before Edits: CHECKPOINT and ROLLBACK in this chapter for more information about the use of the CHECKPOINT and ROLLBACK commands for error handling during panel definition.