Table of Contents

TTMSFNCDatePicker Class

Displays an editable date picker with a drop-down calendar, validation, date limits, event badges, and calendar drawing hooks.

API unit family: TMSFNCDatePicker Inherits from: TTMSFNCCustomDatePicker

Syntax

TTMSFNCDatePicker = class(TTMSFNCCustomDatePicker)

Properties

Name Description
AllowNumericNullValue Controls whether an empty numeric edit value is accepted as no date. (inherited from TTMSFNCCustomDatePicker)
BadgeSize Gets or sets the badge size used by calendar events. (inherited from TTMSFNCCustomDatePicker)
BitmapContainer Provides the bitmap container used by calendar images. (inherited from TTMSFNCCustomDatePicker)
CalendarFill Configures the fill used by the drop-down calendar. (inherited from TTMSFNCCustomDatePicker)
CalendarStroke Configures the stroke used by the drop-down calendar. (inherited from TTMSFNCCustomDatePicker)
CloseOnSelection Controls whether the popup closes immediately after a date is selected. (inherited from TTMSFNCCustomDatePicker)
DateAppearance Configures date-cell appearance in the drop-down calendar. (inherited from TTMSFNCCustomDatePicker)
Day Gets or sets the selected day of the month. (inherited from TTMSFNCCustomDatePicker)
DayNameAppearance Configures day-name appearance in the drop-down calendar. (inherited from TTMSFNCCustomDatePicker)
Events Contains calendar event and badge data displayed by the picker. (inherited from TTMSFNCCustomDatePicker)
FirstDay Gets or sets the first day of the week used by the calendar. (inherited from TTMSFNCCustomDatePicker)
Font Configures the font used by the picker text. (inherited from TTMSFNCCustomDatePicker)
Footer Configures the calendar footer. (inherited from TTMSFNCCustomDatePicker)
Header Configures the calendar header. (inherited from TTMSFNCCustomDatePicker)
Interaction Configures navigation, keyboard, and read-only interaction behavior. (inherited from TTMSFNCCustomDatePicker)
LineAppearance Configures line appearance in the drop-down calendar. (inherited from TTMSFNCCustomDatePicker)
MaxDate Gets or sets the latest selectable date. (inherited from TTMSFNCCustomDatePicker)
MinDate Gets or sets the earliest selectable date. (inherited from TTMSFNCCustomDatePicker)
Month Gets or sets the selected month. (inherited from TTMSFNCCustomDatePicker)
SelectedDate Gets or sets the selected date. (inherited from TTMSFNCCustomDatePicker)
WeekNumberAppearance Configures week-number appearance in the drop-down calendar. (inherited from TTMSFNCCustomDatePicker)
Year Gets or sets the selected year. (inherited from TTMSFNCCustomDatePicker)

Methods

Name Description
Clear Clears the selected date and edit text. (inherited from TTMSFNCCustomDatePicker)

Events

Name Description
OnAfterDrawArrowLeft Occurs after the previous-month arrow is drawn. (inherited from TTMSFNCCustomDatePicker)
OnAfterDrawArrowRight Occurs after the next-month arrow is drawn. (inherited from TTMSFNCCustomDatePicker)
OnAfterDrawBadge Occurs after an event badge is drawn. (inherited from TTMSFNCCustomDatePicker)
OnAfterDrawContentText Occurs after the picker content text is drawn. (inherited from TTMSFNCCustomDatePicker)
OnAfterDrawDayNames Occurs after the day-name area is drawn. (inherited from TTMSFNCCustomDatePicker)
OnAfterDrawDayNamesText Occurs after day-name text is drawn. (inherited from TTMSFNCCustomDatePicker)
OnAfterDrawDayNumbers Occurs after a day cell is drawn. (inherited from TTMSFNCCustomDatePicker)
OnAfterDrawDayNumbersText Occurs after day-number text is drawn. (inherited from TTMSFNCCustomDatePicker)
OnAfterDrawFooter Occurs after the calendar footer is drawn. (inherited from TTMSFNCCustomDatePicker)
OnAfterDrawFooterText Occurs after calendar footer text is drawn. (inherited from TTMSFNCCustomDatePicker)
OnAfterDrawHeader Occurs after the calendar header is drawn. (inherited from TTMSFNCCustomDatePicker)
OnAfterDrawHeaderText Occurs after calendar header text is drawn. (inherited from TTMSFNCCustomDatePicker)
OnAfterDrawLines Occurs after calendar grid lines are drawn. (inherited from TTMSFNCCustomDatePicker)
OnAfterDrawWeekNumbers Occurs after week-number cells are drawn. (inherited from TTMSFNCCustomDatePicker)
OnAfterDrawWeekNumbersText Occurs after week-number text is drawn. (inherited from TTMSFNCCustomDatePicker)
OnBeforeDrawArrowLeft Occurs before the previous-month arrow is drawn. (inherited from TTMSFNCCustomDatePicker)
OnBeforeDrawArrowRight Occurs before the next-month arrow is drawn. (inherited from TTMSFNCCustomDatePicker)
OnBeforeDrawBadge Occurs before an event badge is drawn. (inherited from TTMSFNCCustomDatePicker)
OnBeforeDrawContentText Occurs before the picker content text is drawn and allows default drawing to be suppressed. (inherited from TTMSFNCCustomDatePicker)
OnBeforeDrawDayNames Occurs before the day-name area is drawn. (inherited from TTMSFNCCustomDatePicker)
OnBeforeDrawDayNamesText Occurs before day-name text is drawn. (inherited from TTMSFNCCustomDatePicker)
OnBeforeDrawDayNumbers Occurs before a day cell is drawn. (inherited from TTMSFNCCustomDatePicker)
OnBeforeDrawDayNumbersText Occurs before day-number text is drawn. (inherited from TTMSFNCCustomDatePicker)
OnBeforeDrawFooter Occurs before the calendar footer is drawn. (inherited from TTMSFNCCustomDatePicker)
OnBeforeDrawFooterText Occurs before calendar footer text is drawn. (inherited from TTMSFNCCustomDatePicker)
OnBeforeDrawHeader Occurs before the calendar header is drawn. (inherited from TTMSFNCCustomDatePicker)
OnBeforeDrawHeaderText Occurs before calendar header text is drawn. (inherited from TTMSFNCCustomDatePicker)
OnBeforeDrawLines Occurs before calendar grid lines are drawn. (inherited from TTMSFNCCustomDatePicker)
OnBeforeDrawWeekNumbers Occurs before week-number cells are drawn. (inherited from TTMSFNCCustomDatePicker)
OnBeforeDrawWeekNumbersText Occurs before week-number text is drawn. (inherited from TTMSFNCCustomDatePicker)
OnBeforeEditExitValidate Occurs before the edit control exits and allows exit validation to be cancelled. (inherited from TTMSFNCCustomDatePicker)
OnBeforeSelectDate Occurs before a date is selected. (inherited from TTMSFNCCustomDatePicker)
OnCustomArrowDraw Occurs when a navigation arrow requests custom drawing. (inherited from TTMSFNCCustomDatePicker)
OnCustomNavigation Occurs when custom navigation logic is requested. (inherited from TTMSFNCCustomDatePicker)
OnCustomize Occurs when the embedded calendar can be customized. (inherited from TTMSFNCCustomDatePicker)
OnDateSelected Occurs after a date is selected. (inherited from TTMSFNCCustomDatePicker)
OnMonthChanged Occurs after the displayed month changes. (inherited from TTMSFNCCustomDatePicker)
OnSelectMultiDate Occurs when a multi-date range is selected. (inherited from TTMSFNCCustomDatePicker)
OnValidate Occurs when the edit text is converted to a date value. (inherited from TTMSFNCCustomDatePicker)
OnYearChanged Occurs after the displayed year changes. (inherited from TTMSFNCCustomDatePicker)

Used by