Table of Contents

TTMSFNCCalendar Class

Provides a month calendar control with date selection, navigation, badges, and customizable drawing events.

API unit family: TMSFNCCalendar Inherits from: TTMSFNCCustomCalendar

Syntax

TTMSFNCCalendar = class(TTMSFNCCustomCalendar)

Properties

Name Description
BadgeSize Gets or sets the badge size in pixels. (inherited from TTMSFNCCustomCalendar)
BitmapContainer Gets or sets the bitmap container used by calendar imagery. (inherited from TTMSFNCCustomCalendar)
CurrentDate Gets or sets the currently focused date. (inherited from TTMSFNCCustomCalendar)
Date Gets or sets the displayed calendar date. (inherited from TTMSFNCCustomCalendar)
DateAppearance Gets or sets the appearance settings for date cells. (inherited from TTMSFNCCustomCalendar)
Day Gets or sets the displayed day. (inherited from TTMSFNCCustomCalendar)
DayNameAppearance Gets or sets the appearance settings for day names. (inherited from TTMSFNCCustomCalendar)
Events Gets or sets the calendar event collection. (inherited from TTMSFNCCustomCalendar)
FirstDay Gets or sets the first day of the week. (inherited from TTMSFNCCustomCalendar)
FocusedDate Gets or sets the focused date. (inherited from TTMSFNCCustomCalendar)
Footer Gets or sets the footer appearance and behavior settings. (inherited from TTMSFNCCustomCalendar)
GlobalFont Gets or sets the global font behavior. (inherited from TTMSFNCCustomCalendar)
Header Gets or sets the header appearance and behavior settings. (inherited from TTMSFNCCustomCalendar)
Interaction Gets or sets the calendar interaction settings. (inherited from TTMSFNCCustomCalendar)
LineAppearance Gets or sets the appearance settings for calendar grid lines. (inherited from TTMSFNCCustomCalendar)
MaxDate Gets or sets the latest selectable date. (inherited from TTMSFNCCustomCalendar)
MinDate Gets or sets the earliest selectable date. (inherited from TTMSFNCCustomCalendar)
Month Gets or sets the displayed month. (inherited from TTMSFNCCustomCalendar)
MonthsPopup Gets the popup used for month selection. (inherited from TTMSFNCCustomCalendar)
SelectedDates Gets the selected date collection. (inherited from TTMSFNCCustomCalendar)
WeekNumberAppearance Gets or sets the appearance settings for week numbers. (inherited from TTMSFNCCustomCalendar)
Year Gets or sets the displayed year. (inherited from TTMSFNCCustomCalendar)
YearsPopup Gets the popup used for year selection. (inherited from TTMSFNCCustomCalendar)

Methods

Name Description
ColAtX Returns the calendar column at the specified horizontal coordinate. (inherited from TTMSFNCCustomCalendar)
CurrentDay Returns the current day value. (inherited from TTMSFNCCustomCalendar)
CurrentMonth Returns the current month value. (inherited from TTMSFNCCustomCalendar)
CurrentYear Returns the current year value. (inherited from TTMSFNCCustomCalendar)
DateToCol Returns the calendar column for the specified date. (inherited from TTMSFNCCustomCalendar)
DateToRow Returns the calendar row for the specified date. (inherited from TTMSFNCCustomCalendar)
InitSample Initializes the calendar with sample data. (inherited from TTMSFNCCustomCalendar)
NextDate Navigates to the next date. (inherited from TTMSFNCCustomCalendar)
NextMonth Returns the next month value. (inherited from TTMSFNCCustomCalendar)
NextYear Returns the next year value. (inherited from TTMSFNCCustomCalendar)
PreviousDate Navigates to the previous date. (inherited from TTMSFNCCustomCalendar)
PreviousMonth Returns the previous month value. (inherited from TTMSFNCCustomCalendar)
PreviousYear Returns the previous year value. (inherited from TTMSFNCCustomCalendar)
RowAtY Returns the calendar row at the specified vertical coordinate. (inherited from TTMSFNCCustomCalendar)
SelectADate Selects the specified date. (inherited from TTMSFNCCustomCalendar)
SelectDate Selects the specified date. (inherited from TTMSFNCCustomCalendar)
SelectDateIfAvailable Selects the specified date when it is inside the available date range. (inherited from TTMSFNCCustomCalendar)
SelectEvent Selects the event on the specified date. (inherited from TTMSFNCCustomCalendar)
SelectMultiDates Selects the specified date range. (inherited from TTMSFNCCustomCalendar)
SelectedDate Returns the selected date. (inherited from TTMSFNCCustomCalendar)
UpdateControlAfterResize Updates calendar layout after the control is resized. (inherited from TTMSFNCCustomCalendar)
XYToDate Returns the date at the specified calendar coordinates. (inherited from TTMSFNCCustomCalendar)

Events

Name Description
OnAfterDrawArrowLeft Occurs after the calendar draws arrow left. (inherited from TTMSFNCCustomCalendar)
OnAfterDrawArrowRight Occurs after the calendar draws arrow right. (inherited from TTMSFNCCustomCalendar)
OnAfterDrawBadge Occurs after the calendar draws badge. (inherited from TTMSFNCCustomCalendar)
OnAfterDrawDayNames Occurs after the calendar draws day names. (inherited from TTMSFNCCustomCalendar)
OnAfterDrawDayNamesText Occurs after the calendar draws day names text. (inherited from TTMSFNCCustomCalendar)
OnAfterDrawDayNumbers Occurs after the calendar draws day numbers. (inherited from TTMSFNCCustomCalendar)
OnAfterDrawDayNumbersText Occurs after the calendar draws day numbers text. (inherited from TTMSFNCCustomCalendar)
OnAfterDrawFooter Occurs after the calendar draws footer. (inherited from TTMSFNCCustomCalendar)
OnAfterDrawFooterText Occurs after the calendar draws footer text. (inherited from TTMSFNCCustomCalendar)
OnAfterDrawHeader Occurs after the calendar draws header. (inherited from TTMSFNCCustomCalendar)
OnAfterDrawHeaderText Occurs after the calendar draws header text. (inherited from TTMSFNCCustomCalendar)
OnAfterDrawLines Occurs after the calendar draws lines. (inherited from TTMSFNCCustomCalendar)
OnAfterDrawWeekNumbers Occurs after the calendar draws week numbers. (inherited from TTMSFNCCustomCalendar)
OnAfterDrawWeekNumbersText Occurs after the calendar draws week numbers text. (inherited from TTMSFNCCustomCalendar)
OnBeforeDrawArrowLeft Occurs before the calendar draws arrow left. (inherited from TTMSFNCCustomCalendar)
OnBeforeDrawArrowRight Occurs before the calendar draws arrow right. (inherited from TTMSFNCCustomCalendar)
OnBeforeDrawBadge Occurs before the calendar draws badge. (inherited from TTMSFNCCustomCalendar)
OnBeforeDrawDayNames Occurs before the calendar draws day names. (inherited from TTMSFNCCustomCalendar)
OnBeforeDrawDayNamesText Occurs before the calendar draws day names text. (inherited from TTMSFNCCustomCalendar)
OnBeforeDrawDayNumbers Occurs before the calendar draws day numbers. (inherited from TTMSFNCCustomCalendar)
OnBeforeDrawDayNumbersText Occurs before the calendar draws day numbers text. (inherited from TTMSFNCCustomCalendar)
OnBeforeDrawFooter Occurs before the calendar draws footer. (inherited from TTMSFNCCustomCalendar)
OnBeforeDrawFooterText Occurs before the calendar draws footer text. (inherited from TTMSFNCCustomCalendar)
OnBeforeDrawHeader Occurs before the calendar draws header. (inherited from TTMSFNCCustomCalendar)
OnBeforeDrawHeaderText Occurs before the calendar draws header text. (inherited from TTMSFNCCustomCalendar)
OnBeforeDrawLines Occurs before the calendar draws lines. (inherited from TTMSFNCCustomCalendar)
OnBeforeDrawWeekNumbers Occurs before the calendar draws week numbers. (inherited from TTMSFNCCustomCalendar)
OnBeforeDrawWeekNumbersText Occurs before the calendar draws week numbers text. (inherited from TTMSFNCCustomCalendar)
OnBeforeSelectDate Occurs before a date is selected. (inherited from TTMSFNCCustomCalendar)
OnBeforeShowMonthPopup Occurs before the month selection popup is shown. (inherited from TTMSFNCCustomCalendar)
OnBeforeShowYearPopup Occurs before the year selection popup is shown. (inherited from TTMSFNCCustomCalendar)
OnChange Occurs when the calendar value changes. (inherited from TTMSFNCCustomCalendar)
OnCustomArrowDraw Occurs when a navigation arrow is drawn with custom drawing logic. (inherited from TTMSFNCCustomCalendar)
OnCustomNavigation Occurs when custom date navigation is requested. (inherited from TTMSFNCCustomCalendar)
OnMonthChanged Occurs when the displayed month changes. (inherited from TTMSFNCCustomCalendar)
OnMonthPopupValueSelected Occurs when a month is selected from the popup. (inherited from TTMSFNCCustomCalendar)
OnNavigateBack Occurs when backward navigation is requested. (inherited from TTMSFNCCustomCalendar)
OnNavigateFooter Occurs when footer navigation is requested. (inherited from TTMSFNCCustomCalendar)
OnNavigateForward Occurs when forward navigation is requested. (inherited from TTMSFNCCustomCalendar)
OnSelectDate Occurs when a date is selected. (inherited from TTMSFNCCustomCalendar)
OnSelectMultiDate Occurs when a date range is selected. (inherited from TTMSFNCCustomCalendar)
OnYearChanged Occurs when the displayed year changes. (inherited from TTMSFNCCustomCalendar)
OnYearPopupValueSelected Occurs when a year is selected from the popup. (inherited from TTMSFNCCustomCalendar)

Used by