From RAD Studio API Documentation
Jump to: navigation, search



TCalendar = class(TCustomCalendar)


class PASCALIMPLEMENTATION TCalendar : public TCustomCalendar


Type Visibility Source Unit Parent
class public
FMX.Calendar FMX.Calendar


TCalendar is a basic control for displaying a month calendar.

Use TCalendar in order to display a calendar for one month, where the user can select the day and browse for a month and year. TCalendar stores the date as a TDateTime object, which can be accessed by the DateTime property. Changing DateTime will update the control.

TCalendar is a presented control. Its data model is TCalendarModel and presentation is TStyledCalendar.

Note: The TCalendar control supports dates between December 30, 1899 and December 31, 9999.

Design Images

Image Description


  • The TCalendar control contains a table of days arranged in lines that represent weeks.
  • The first day of the week is defined by the FirstDayOfWeek property.
  • The top section of the control contains buttons that allow browsing through months, quickly selecting the month and the year, and then returning to the current date.

TCalendar with Week Numbers

  • If the WeekNumbers property is set to True, then the numbers that correspond to the weeks are displayed on the left side of the control.

See Also

Code Examples