FMX.DateTimeCtrls.TCustomDateTimeEdit.OnChange

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnChange: TNotifyEvent read FOnDateTimeChanged write FOnDateTimeChanged;

C++

__property System::Classes::TNotifyEvent OnChange = {read=FOnDateTimeChanged, write=FOnDateTimeChanged};

Properties

Type Visibility Source Unit Parent
event public
FMX.DateTimeCtrls.pas
FMX.DateTimeCtrls.hpp
FMX.DateTimeCtrls TCustomDateTimeEdit

Description

Occurs when the date or time for this control has been changed.

Write an OnChange event handler to take specific action whenever the date or time for this control has been changed.

Tip: OnChange does not occur if you changed only text in the text box of this control (for example, if you changed the TDateEdit.Format property). This event occurs only after the TDateEdit.Date or TTimeEdit.Time property has been changed.

See Also