These parameters are specific to changing how the DIALOG "message" is displayed.
Parameter |
Value |
Description |
MESSAGE_FONT_COLOR |
value |
Changes the font color of message area. User can specify the integer value or type one of the predefined color names. |
MESSAGE_BACK_COLOR |
value |
Changes the background color of message area. User can specify the integer value or type one of the predefined color names. |
MESSAGE_BOLD |
ON OFF |
Makes font in the message area bold style. |
MESSAGE_ITALIC |
ON OFF |
Makes font in the message area italic style. |
MESSAGE_UNDERLINE |
ON OFF |
Makes font in the message area underlined. |
MESSAGE_STRIKEOUT |
ON OFF |
Makes font in the message area strikeout. |
MESSAGE_FONT_NAME |
value |
Specifies a font name in the message area. |
MESSAGE_FONT_SIZE |
value |
Specifies a font size (integer value) in the message area. |
MESSAGE_SHOW_ACCELERATOR_CHAR |
ON OFF |
Specifies if the message displays the accelerator character. The default value is ON. |
Examples:
DIALOG 'Message ...' vResponse vEndKey 1 +
CAPTION 'DIALOG Window' ICON 'INFO' +
OPTION MESSAGE_FONT_COLOR BLUE +
|MESSAGE_BACK_COLOR WHITE +
|MESSAGE_FONT_NAME Tahoma +
|MESSAGE_FONT_SIZE 10 +
|MESSAGE_BOLD ON
DIALOG +
'You have selected to process new sales order for Fenwick & Sons Glass' +
vYesNo vEndKey Yes +
CAPTION 'New Sales Order' ICON QUESTION +
OPTION WINDOW_BACK_COLOR WHITE +
|MESSAGE_BACK_COLOR WHITE +
|MESSAGE_FONT_NAME Tahoma +
|MESSAGE_FONT_COLOR RED +
|MESSAGE_FONT_SIZE 11 +
|BUTTON_YES_CAPTION &Yes +
|BUTTON_YES_COLOR WHITE +
|BUTTON_YES_FONT_COLOR GREEN +
|BUTTON_NO_CAPTION &No +
|BUTTON_NO_COLOR WHITE +
|BUTTON_NO_FONT_COLOR RED +
|MESSAGE_SHOW_ACCELERATOR_CHAR OFF