FMX.Memo.TCustomMemoModel.DoValidating

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

virtual System::UnicodeString __fastcall DoValidating(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 OnValidating event to validate any change made to the text of the memo.

DoValidating is called before DoChangeTracking after any change made to the text of the memo.

The default implementation of the DoValidating virtual method converts the text of the memo to the char case specified by CharCase and then raises the OnValidating event. The text of the memo is already updated to reflect any changes when DoValidating is called.

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

See Also