System Projects Reference > The Library Controls Include Project > Use the Library Controls > Calendar Library Control
Calendar Library Control

The following parameters are available for the Calendar library control:

Parameter

Description

Calendar Name

A unique name used to identify the Genie within a page.

Width

The pixel width of the control at runtime.
Note: Please do not re-size the Genie at design time, as its width will be automatically calculated at runtime.

Height

The pixel height of the control at runtime.

Note: Please do not re-size the Genie at design time, as its height will be automatically calculated at runtime.

Header Height

Pixel height of header row (that shows the week day initials) in calendar display.

Label Height

Pixel height of the label row (that shows the month).

Header Padding

The pixel padding between the bottom of the header text and the bottom of the header row.

Label Padding

The pixel padding between the bottom of the label text and the bottom of the label row.

Top Padding

The pixel padding on top of the calendar display.

Left Padding

The pixel padding on left of the calendar display.

Side Padding

The pixel padding on both sides of the calendar display.

Header Font

The pre-configured font for header text.

Date

The date selected as a timestamp value. Users may wish to convert the result using TimestampToStr to the desired format and locale.

Date Font

The pre-configured font for the month text.

Day Font

The pre-configured font for the day displays.

Next Month Font

The pre-configured font for the next month text.

Selection Font

The pre-configured font for the selected day.

Single selection

Whether allow single day or multiple days to be selected.

Refresh Rate

The minimum (quickest possible) rate that the control will be drawn. The control is only redrawn as required upon changes to the layout or other user initiated events.

Initialize (Optional)

Callback function that is called when the control initializes The callback function should return either TRUE (1) for success or FALSE (0) if unsuccessful. By default, if the user specified function does not initialize, the control Genie will retry the function a few time before giving up. This callback only supports the #Name keyword which represents the name assigned to the control Genie.

Note: The initialization callback function may be called multiple times whenever the table is re-initialized.

Left Mouse (Optional)

Callback function that is called when the user clicks the left mouse button No particular return value is expected from this function, and it supports the following keywords in its argument list:
#Name = name assigned to the Genie
#Date = the date selected as a timestamp value. Users may wish to convert the result using TimestampToStr to the desired format and locale.

Right Mouse (Optional)

Callback function that is called when the user clicks the right mouse button It uses the same specification as that of the Left mouse callback .

Double Click (Optional)

Callback function that is called when the user double-click the left mouse button It uses the same specification as that of the Left mouse callback.

Table Reload (Optional)

Callback function that is called when the control is redrawn No particular return value is expected from this function, and it supports the following keywords in its argument list:
#Name = name assigned to the Genie.

Published June 2018