FMX.Edit.TEdit.OnChange

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnChange: TNotifyEvent read GetOnChange write SetOnChange;

C++

__property OnChange;

Properties

Type Visibility Source Unit Parent
event published
FMX.Edit.pas
FMX.Edit.hpp
FMX.Edit TEdit

Description

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

FMX.Edit.TEdit.OnChange inherits from FMX.Edit.TCustomEdit.OnChange. All content below this line refers to FMX.Edit.TCustomEdit.OnChange.

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