FMX.Memo.TCustomMemoModel.DoValidate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DoValidate(const Value: string): string; virtual;

C++

virtual System::UnicodeString __fastcall DoValidate(const System::UnicodeString Value);

Properties

Type Visibility Source Unit Parent
function protected
FMX.Memo.pas
FMX.Memo.hpp
FMX.Memo TCustomMemoModel

Description

Is called to raise the OnValidate event to validate that changes have been made to the text of the memo when the memo has lost the focus or the user has pressed ENTER.

DoValidate is called before OnChange.

In descendant classes, you can redefine the virtual protected DoValidate method to provide additional validating.

See Also