FMX.Edit.TCustomEdit.OnChange

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnChange: TNotifyEvent read GetOnChange write SetOnChange;

C++

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

Properties

Type Visibility Source Unit Parent
event public
FMX.Edit.pas
FMX.Edit.hpp
FMX.Edit TCustomEdit

Description

Occurs when the text for the edit control may have changed.

Write an OnChange event handler to take specific action whenever the text for the edit control may have changed. The Text property of the edit control will already have been updated to reflect any changes.

Tip: OnChange does not occur after individual characters have been typed, but only after the user presses the ENTER key or the focus leaves the control. An event that responds to individual character changes is OnChangeTracking.

See Also