Windows and forms in programs / OPEN WINDOW |
Attribute | Description |
---|---|
TEXT = string | Defines the default title of the window. When a form is displayed, the form title (LAYOUT(TEXT="mytitle")) will be used as window 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, (LAYOUT(WINDOWSTYLE="mystyle")), it overwrites the default window
style. Tip: 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 FIRST and LAST predefined line positions. |
FORM LINE integer | In character mode, indicates the position of the form line for this window. The position can be specified with FIRST and LAST predefined line positions. |
MENU LINE integer | In character mode, indicates the position of the ring menu line for this window. The position can be specified with FIRST and LAST predefined line positions. |
MESSAGE LINE integer | In character mode, indicates the position of the message line for this window. The position can be specified with FIRST and LAST predefined line positions. |
ERROR LINE integer | In character mode, indicates the position of the error line for this window. The position can be specified with FIRST and LAST predefined line positions. |
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 FIRST and LAST predefined line positions. |
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: