FMX.Memo.TCustomMemoModel.OnChange
Delphi
property OnChange: TNotifyEvent read FOnChange write FOnChange;
C++
__property System::Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | FMX.Memo.pas FMX.Memo.hpp |
FMX.Memo | TCustomMemoModel |
Description
Occurs when the focus leaves the memo or the user presses ENTER. The event occurs only when the text has changed.
OnChange is raised when the following situations occur:
- Text is cleared in the memo.
- Text is set in the memo.
- The memo loses focus.
- The user presses the ENTER key.
Write an OnChange event handler to check the modified text data.