Monday, October 12, 2020
Tip of the Day: DIALOG Command and Customized Fonts for Calendar/Clock Menus
Product.......: R:BASE X.5 and R:BASE X.5 Enterprise (Version 10.5)
Build.........: 10.5.3.11008 or higher
Sections......: Commands
Keywords......: DIALOG, Font, Calendar, Clock, Popup Menu
Did you know that the DATE, TIME, and DATETIME popup menus available
with the DIALOG command have been enhanced to take the font settings
based on the input control?
The added supports allows users to customize the font type and size for
the calendar/clock controls and buttons with the OPTION parameters:
. INPUT_FONT_NAME
. INPUT_FONT_COLOR
. INPUT_FONT_SIZE
Example:
DIALOG 'Enter Date and Time:' vDateTime=26 vEndKey 1 +
CAPTION 'Enter Date' +
ICON APP +
OPTION DIALOG_EDIT_HINT 'Double-Click for Calendar/Clock' +
|POPUP_ENABLED TRUE +
|POPUP_DIALOG_TYPE DATETIME +
|POPUP_CALENDAR_BACK_COLOR WHITE +
|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 +
|POPUP_CLOCK_BACK_COLOR WHITE +
|POPUP_CLOCK_FACE_COLOR LIGHT GRAY +
|POPUP_CLOCK_HANDS_COLOR BLACK +
|POPUP_CLOCK_NUMBERS_COLOR RED +
|POPUP_CLOCK_HOURTICKS_COLOR NAVY +
|POPUP_CLOCK_MINUTETICKS_COLOR WHITE +
|POPUP_CLOCK_AMPM_FONT_COLOR NAVY +
|POPUP_CLOCK_DEFAULT_TIME 12 +
|INPUT_FONT_NAME Tahoma +
|INPUT_FONT_SIZE 14
Very Best R:egards,
Razzak.
https://www.rbase.com
http://www.facebook.com/rbase/
--
For group guidelines, visit
http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rbase-l/0Le6Sw-1k6yho41zI-00prUT%40mrelay.perfora.net.