FMX.Memo.TCustomMemoModel.OnChangeTracking
Delphi
property OnChangeTracking: TNotifyEvent read FOnChangeTracking write FOnChangeTracking;
C++
__property System::Classes::TNotifyEvent OnChangeTracking = {read=FOnChangeTracking, write=FOnChangeTracking};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | FMX.Memo.pas FMX.Memo.hpp |
FMX.Memo | TCustomMemoModel |
Description
Occurs on any change in the text of the memo.
Write an OnChangeTracking event handler to respond immediately to any changes made in the text of the memo control. The OnChangeTracking event provides the first opportunity to respond to modifications that the user makes by typing into the memo control.
The Lines property of the memo control is already updated and reflects any changes when OnChangeTracking is raised.
The difference between OnChangeTracking and OnChange is that OnChangeTracking occurs at each modification of text in the memo control.
Note: OnChangeTracking does not occur when changing only text representation characteristics (for example, on changing of TextAlign).