These parameters are specific to changing how the DIALOG "buttons" are displayed.
Since you can use a DIALOG window with an edit field using the OK and CANCEL buttons, as well as only YES and NO buttons without the edit field, there are several "Button" parameters available.
The follow parameters can be used to alter both buttons at the same time.
Parameter |
Value |
Description |
BUTTONS_SHOW_GLYPH |
ON OFF |
Specifies if images are displayed on the "OK and Cancel" or "Yes and No" buttons. |
BUTTONS_BACK_COLOR |
value |
Specifies the background color for the panel where the buttons are located. |
Additional parameters are available within the subchapters of this topic to alter the button properties individually.
Example:
DIALOG 'DIALOG Message Here ...' vResponse=26 vEndKey 1 +
CAPTION 'DIALOG Caption Here ...' ICON 'APPS' +
OPTION WINDOW_CAPTION ON +
|WINDOW_BACK_COLOR WHITE +
|BUTTONS_BACK_COLOR WHITE +
|BUTTON_OK_CAPTION '&Continue' +
|BUTTON_CANCEL_CAPTION 'C&ancel' +
|BUTTON_OK_FONT_COLOR GREEN +
|BUTTON_CANCEL_FONT_COLOR RED