CalendarControl Xojo Plugin

CalendarControl Control

CalendarControl is to create a calendar control.

RectControl
   CalendarControl

control CalendarControl

Properties

AutoLocalizeUse this property to let the operating system attempt to localize the day- and month names.
BackColorUse this property to set the BackColor of the Calendar.
CancelEventActionUse this property to cancel a events internal action.
ClickableOutOfBoundsUse this property to let to specify if out of bounds days should be clickable. If out of bounds days are clickable then a click on them will let the calendar shift to next or previous month.
DebugDataSizeUsed for internal quality control of the plugin.
DisabledSpecialDayColorSets or gets the color for disabled/inactive special days.
DrawFrameUse this property to specify if the Calendar control should be drawn with a frame around it or not.
DrawOutOfBoundsUse this property to let the calendar draw days from previous and next months onto the current month as gray shaded text.
FirstDayOfWeekUse this property to specify the first day of the week.
FridayEnabledUse this property to disable the given weekday.
FridaySpecialUse this property to set the given day as special. Special week days are show as either red, with red header or both, depending on the setting defined in the SpecialWDayStyle property.
HideYearArrowsUse this property to hide the year arrows.
InitMaxDayUse this property to set the initial setting for the MaxDate property.
InitMaxMonthUse this property to set the initial setting for the MaxDate property.
InitMaxYearUse this property to set the initial setting for the MaxDate property.
InitMinDayUse this property to set the initial setting for the MinDate property.
InitMinMonthUse this property to set the initial setting for the MinDate property.
InitMinYearUse this property to set the initial setting for the MinDate property.
InitSelectedDayUse this property to set the initial setting for the SelectedDate property.
InitSelectedMonthUse this property to set the initial setting for the SelectedDate property.
InitSelectedYearUse this property to set the initial setting for the SelectedDate property.
MarkedDaysUse this property to define Marked days. Marked days will have a red mark under the text.
MarkStyleUse this property to define how marked days should be displayed.
MaxDateUse this property to set the minimum date.
MinDateUse this property to set the minimum date.
MondayEnabledUse this property to disable the given weekday.
MondaySpecialUse this property to set the given day as special. Special week days are show as either red, with red header or both, depending on the setting defined in the SpecialWDayStyle property.
OSXDrawWeekBarsUse this property to turn off drawing week bars on OS X.
SaturdayEnabledUse this property to disable the given weekday.
SaturdaySpecialUse this property to set the given day as special. Special week days are show as either red, with red header or both, depending on the setting defined in the SpecialWDayStyle property.
SelectedDateUse this property to set the selected date.
SpecialDayColorSets or gets the color for special days.
SpecialDaysUse this property to define special days. Special days get drawn with red text.
SpecialWDayStyleUse this property to decide on appearance of special week days.
SundayEnabledUse this property to disable the given weekday.
SundaySpecialUse this property to set the given day as special. Special week days are show as either red, with red header or both, depending on the setting defined in the SpecialWDayStyle property.
ThursdayEnabledUse this property to disable the given weekday.
ThursdaySpecialUse this property to set the given day as special. Special week days are show as either red, with red header or both, depending on the setting defined in the SpecialWDayStyle property.
TuesdayEnabledUse this property to disable the given weekday.
TuesdaySpecialUse this property to set the given day as special. Special week days are show as either red, with red header or both, depending on the setting defined in the SpecialWDayStyle property.
UseBackColorUse this property to let the calendar control use the color specified by the BackColor property as a back color.
UseSpecialDayColorSet this property to true to override the default color scheme for special days.
WednesdayEnabledUse this property to disable the given weekday.
WednesdaySpecialUse this property to set the given day as special. Special week days are show as either red, with red header or both, depending on the setting defined in the SpecialWDayStyle property.

Methods

DayNameUse this property if you want to specify your own names for the days.
MonthNameUse this property if you want to specify your own names for the month.

Events

DayClickedThis event will fire always when a day gets clicked with the mouse. This event is fired regardless if the day was previously selected or not.
DayDoubleClickedThis event will fire always when a day gets clicked with the mouse. This event is fired regardless if the day was previously selected or not.
MouseDownThis event is fired when the Mouse is clicked within the control.
MouseExitThis event will fire when the Mouse Exists the control.
QueryDayEnabledUse this event to customize which days are to be disabled.
SelectedChangedThis event will fire always when the selected date has changed.
YearFieldClickedThis event will fire always when the year arrows are clicked.

Supported Platforms:

  • MacOS X Carbon
  • MacOS X Cocoa 32 bit
  • MacOS X Cocoa 64 bit
  • Windows 32 bit
  • Windows 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM