Show: Delphi C++
Display Preferences

FMX.Calendar.TCalendar

From RAD Studio API Documentation
Jump to: navigation, search

FMX.Calendar.TCustomCalendarFMX.Controls.Presentation.TPresentedControlFMX.Controls.TStyledControlFMX.Controls.TControlFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTCalendar

Delphi

TCalendar = class(TCustomCalendar)

C++

class PASCALIMPLEMENTATION TCalendar : public TCustomCalendar

Properties

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

Description

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

TCalendar

  • 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

Personal tools
RAD Studio 10.2 Tokyo
In Other Languages
Previous Versions
Assistance