Show: Object Pascal C++
Display Preferences

FMX.DateTimeCtrls.TCalendarEdit

From Appmethod Libraries
Jump to: navigation, search

FMX.DateTimeCtrls.TCustomCalendarEditFMX.Edit.TComboEditBaseFMX.Edit.TCustomEditFMX.Controls.TStyledControlFMX.Controls.TControlFMX.Types.TFmxObjectSystem.Classes.TComponentTCalendarEdit

Object Pascal

TCalendarEdit = class (TCustomCalendarEdit)

C++

class PASCALIMPLEMENTATION TCalendarEdit : public TCustomCalendarEdit

Properties

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

Description

Represents a single-line editable text box containing a date specified by a drop-down TCalendar control.

Warning: TCalendarEdit is deprecated. Please use TDateEdit.

TCalendarEdit is a single-line editable text box that can be edited as text and displays a drop-down TCalendar control when the drop-down arrow, situated on the left side of the control, is clicked.

Use the Date, Text, or Calendar property to modify the date that is shown in the text box of the control. Modifying one of these three properties will result in updating the other two, because all the three properties represent the same date.

For iOS applications, the TCalendarEdit component wraps a calendar component or native date picker for the iOS target platform. For more information, see Mobile Tutorial: Using a Calendar Component to Pick a Date (iOS and Android).

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

Design Image

TCalendarEdit

Unlike TCalendarBox, TCalendarEdit supports text insertion in the text box of the control. The text that is inserted is converted into a date format. If the conversion is not possible, the date will be modified to December 30, 1899.


See Also

Code Examples

Personal tools
Translations