Defining new panels (PANEL)
Purpose
The panel entry identifies the start of a new panel and its general attributes.
Format
Parameters
- down_panel
- Defines the panel that displays when the DOWN command is issued or the appropriate function key is pressed.
- left_panel
- Defines the panel that displays when left panel function key is pressed or LEFT command is issued.
- length
- Defines the number of lines or rows on the screen. You must specify a numeric value.
- name
- Identifies a user-defined panel name up to 8 characters in length.
- right_panel
- Defines the panel that displays when the right panel function key is pressed or the RIGHT command is issued.
- top_panel
- Defines the panel that displays when the TOP command is issued or the appropriate function key is pressed.
- up_panel
- Defines the panel that displays when the UP command is issued or the appropriate function key is pressed.
- width
- Defines the number of columns on the screen. You must specify a numeric value.
Usage
The default initial panel name supplied with AON is called EZLPNLST. If you change this name, also change the definition in the EZLINIT member for the INITSCRN entry to reflect this. If you have more data than can be displayed on a single screen, you can define continuation panels with the left_panel_name, right_panel_name, and down_panel_name parameters.
The parameters are positional.
Examples
This example defines EZLPNSNA as the panel name:
PANEL(EZLPNSNA,24,80,EZLPNL1,EZLPNL1, , ,)
The length of the panel is 24 and the width is 80. The panel named EZLPNL1 is displayed when the TOP command is used and the panel named EZLPNL1 is displayed when the UP command is used. No entries are defined for the DOWN, LEFT, or RIGHT commands.
