$MESSAGE_LINE
Assign the position and video attributes for the message line in character mode.
$MESSAGE_LINE {=
} Location
{,
VideoAttributes }
Arguments
- Location —indicates whether the message line appears at the top or bottom of the application screen in character mode.
- VideoAttributes—video attribute codes. When combining video attributes, separate them with commas and enclose them in parentheses.
Attribute Code | Description |
---|---|
BLI
|
Blinking |
BOR
|
Border |
BRI
|
Bright |
HLT
|
Use system highlight color. Note: This attribute always takes precedence over other video attributes that may be specified. |
INV
|
Inverse |
UND
|
Underline |
COL= n
|
Set color to color code n, the sum of the color numbers for foreground and background. |
Defaults
Assignment file: | Any application assignment file |
Section: | [SETTINGS] |
Default value: | None |
Description
$MESSAGE_LINE is effective only when
$GUI=$CHR
.
$MESSAGE_LINE positions the message line (at the TOP
or the BOTTOM
of the screen) and sets the video attributes for the message line.
Using $MESSAGE_LINE allows the position to be changed without updating the
definitions of the application screen in the startup shell editor.
TOP
places the message line at the top of the screen. It appears below the menu bar if that is also present at the top.BOTTOM
places the message line at the bottom of the screen. It appears above the menu bar if that is also present at the bottom.
$MESSAGE_LINE
To make the message line appear at the bottom of the screen with white letters on a blue background, determine the color number by adding 56 (white foreground) and 1 (blue background):
$MESSAGE_LINE BOTTOM,COL=57