FMX.Memo.TCustomMemoModel.OnValidate
Delphi
property OnValidate: TValidateTextEvent read FOnValidate write FOnValidate;
C++
__property Fmx::Text::TValidateTextEvent OnValidate = {read=FOnValidate, write=FOnValidate};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | FMX.Memo.pas FMX.Memo.hpp |
FMX.Memo | TCustomMemoModel |
Description
Is raised to validate that changes have been made in the text of the memo when the memo has lost the focus or the user has pressed ENTER. The OnValidate event occurs before the OnChange event.
In descendant classes, to change when to raise the OnValidate event, redefine the virtual TCustomMemoModel.DoValidate method.