FMX.Edit.TCustomEdit.OnChangeTracking

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnChangeTracking: TNotifyEvent read GetOnChangeTracking write SetOnChangeTracking;

C++

__property System::Classes::TNotifyEvent OnChangeTracking = {read=GetOnChangeTracking, write=SetOnChangeTracking};

Properties

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

Description

Occurs when typing individual characters into the edit control.

Write an OnChangeTracking event handler to take specific action whenever you set the text for the edit control or type individual characters in it. The Text property of the edit control will already have been updated to reflect any changes. This event provides the first opportunity to respond to modifications the user brought to the text of the edit control.

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

See Also