OPEN WINDOW attributes
List of attributes for the OPEN WINDOW instruction.
Window attributes reference
Attribute | Description |
---|---|
TEXT = string |
Defines the default title of the window. When a form is displayed, the form title ( 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, ( We recommend that you define the window style in the form file. |
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
|
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. |
Defaut line positions for TUI mode
The default line positions in TUI mode are defined by the OPTIONS
instruction.
See the OPTIONS
command reference topic
for more details.
Combining TTY attributes and presentation styles
In GUI mode, form elements can also be decorated with presentation styles. Pay attention to the specific rules that apply when combining TTY attributes and presentation styles.