OPEN WINDOW attributes
List of attributes for the OPEN WINDOW instruction.
Attribute | Description |
---|---|
TEXT = string |
Defines the default title of the window.
When a form is displayed, the form title ( Tip: We recommend that you define the window title in the form file.
|
STYLE = string |
Defines the default style of the window. If the
form defines a window style, ( Tip: We recommend that you define the window style in the form file.
|
TYPE = [LEFT|RIGHT|
POPUP|NAVIGATOR] |
Defines the window type. According to the type specified, the window will appear differently,
following front-end platform GUI standards. For example, on iOS
devices, a window created with |
BLACK, BLUE, CYAN, GREEN, MAGENTA, RED,
WHITE, YELLOW |
Default TTY color of the data displayed in the window. |
BOLD, DIM, INVISIBLE, NORMAL |
Default TTY font attribute of the data displayed in the window. |
REVERSE, BLINK, UNDERLINE |
Default TTY video attribute of the data displayed in the window. |
PROMPT LINE integer |
In character mode, indicates the position
of the prompt line for this window. The position can be specified with
|
FORM LINE integer |
In character mode, indicates the position
of the form line for this window. The position can be specified with
|
MENU LINE integer |
In character mode, indicates the position
of the ring menu line for this window. The position can be specified with
|
MESSAGE LINE integer |
In character mode, indicates the position
of the message line for this window. The position can be specified with
|
ERROR LINE integer |
In character mode, indicates the
position of the error line for this window. The position can be specified
with |
COMMENT LINE {OFF|integer} |
In character mode, indicates the position
of the comment line or no comment line at all, for this window.
The position can be specified with |
BORDER |
Indicates if the window must be created with a border in character mode. A border frame is drawn outside the specified window. This means, that the window needs 2 additional lines and columns on the screen. |
The following list describes the default line positions in character mode:
- First line: Prompt line (output from
PROMPT
statement) and Menu line (command value fromMENU
statement). - Second line: Message line (output from
MESSAGE
statement; also the descriptions ofMENU
options). - Third line: Form line (output from
DISPLAY FORM
statement). - Last line: Error line (output from
ERROR
statement). Also comment line in any window exceptSCREEN
.