CalendarControl Xojo Plugin

CalendarControl.QueryDayEnabled Event

Use this event to customize which days are to be disabled.

QueryDayEnabled(
   day as Integer,
   month as Integer,
   year as Integer) as Boolean

Parameters

day
The day to check.
month
The month to check.
year
The year to check.

Returns

Boolean
True to use default handling, false to explicitly define the day as disabled.

Remarks

Return false from this event to disable a day. If true is returned then default rules will apply for the day.

Note:
If all days in a month are disabled then the CalendarConstrol will still pick one of them to be selected.

See Also

CalendarControl Control