Please enable JavaScript to view this site.

R:BASE 11 Help

Navigation: Command Index > D > DIALOG > OPTION parameters > Popup Menu

TIME

Scroll Prev Top Next More

These parameters are specific to adding a "TIME" custom popup menu to the DIALOG window. The font settings for the clock will be based upon the input field parameters: INPUT_FONT_NAME, INPUT_FONT_COLOR, INPUT_FONT_SIZE.

 

DIALOG_Popup_Time

 

 

Parameter

Value

Description

POPUP_CLOCK_BACK_COLOR

value

Specifies the background color of the clock.

POPUP_CLOCK_FACE_COLOR

value

Specifies the face color of the clock.

POPUP_CLOCK_HANDS_COLOR

value

Specifies the color of the clock's hands.

POPUP_CLOCK_NUMBERS_COLOR

value

Specifies the color of the clock's numbers.

POPUP_CLOCK_HOURTICKS_COLOR

value

Specifies the color of the clock's hour ticks.

POPUP_CLOCK_MINUTETICKS_COLOR

value

Specifies the color of the clock's minute ticks.

POPUP_CLOCK_HEADER_COLOR

value

Specifies the background color of the clock header.

POPUP_CLOCK_HEADER_FONT_COLOR

value

Specifies the font color of the clock header.

POPUP_CLOCK_AMPM_FONT_COLOR

value

Specifies the font color of the AM/PM radio buttons.

POPUP_CLOCK_DEFAULT_TIME

value

Specifies the default time for the clock.

 

 

Example:

 

DIALOG 'Enter Time to Enter:' vEnterTime=26 vEndKey 1 +

CAPTION 'Enter Time' +

ICON APP +

OPTION DIALOG_EDIT_HINT 'Double-Click for Clock' +

|POPUP_ENABLED TRUE +

|POPUP_DIALOG_TYPE TIME +

|POPUP_CLOCK_BACK_COLOR WHITE +

|POPUP_CLOCK_FACE_COLOR LIGHT GRAY +

|POPUP_CLOCK_HANDS_COLOR BLACK +

|POPUP_CLOCK_NUMBERS_COLOR NAVY +

|POPUP_CLOCK_HOURTICKS_COLOR NAVY +

|POPUP_CLOCK_MINUTETICKS_COLOR WHITE +

|POPUP_CLOCK_HEADER_COLOR NAVY +

|POPUP_CLOCK_HEADER_FONT_COLOR WHITE +

|POPUP_CLOCK_AMPM_FONT_COLOR NAVY +

|POPUP_CLOCK_DEFAULT_TIME 12

 

DIALOG_Popup_Time2