These parameters are specific to adding a "DATE" custom popup menu to the DIALOG window. The font settings for the calendar will be based upon the input field parameters: INPUT_FONT_NAME, INPUT_FONT_COLOR, INPUT_FONT_SIZE.
Parameter |
Value |
Description |
POPUP_CALENDAR_BACK_COLOR |
value |
Specifies the background color of the calendar. |
POPUP_CALENDAR_DAYS_COLOR |
value |
Specifies the color of the calendar days. |
POPUP_CALENDAR_FILLDAYS_COLOR |
value |
Specifies the color of the calendar fill days. |
POPUP_CALENDAR_DAYSOFWEEK_COLOR |
value |
Specifies the color of the calendar days of week. |
POPUP_CALENDAR_LINES_COLOR |
value |
Specifies the color of the calendar lines. |
POPUP_CALENDAR_SELBACK_COLOR |
value |
Specifies the color of the selected date background. |
POPUP_CALENDAR_SELFORE_COLOR |
value |
Specifies the color of the selected date foreground. |
POPUP_CALENDAR_TODAYFRAME_COLOR |
value |
Specifies the color of today's frame. |
Example:
DIALOG 'Enter Date to Browse:' vBrowseDate=26 vEndKey 1 +
CAPTION 'Enter Date' +
ICON APP +
OPTION DIALOG_EDIT_HINT 'Double-Click for Calendar' +
|POPUP_ENABLED TRUE +
|POPUP_DIALOG_TYPE DATE +
|POPUP_CALENDAR_BACK_COLOR SILVER +
|POPUP_CALENDAR_DAYS_COLOR RED +
|POPUP_CALENDAR_FILLDAYS_COLOR NAVY +
|POPUP_CALENDAR_DAYSOFWEEK_COLOR +
|POPUP_CALENDAR_LINES_COLOR BLACK +
|POPUP_CALENDAR_SELBACK_COLOR NAVY +
|POPUP_CALENDAR_SELFORE_COLOR WHITE +
|POPUP_CALENDAR_TODAYFRAME_COLOR RED