Vcl.Mask.TCustomMaskEdit.ValidateEdit

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ValidateEdit; virtual;

C++

virtual void __fastcall ValidateEdit();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Mask.pas
Vcl.Mask.hpp
Vcl.Mask TCustomMaskEdit

Description

Validates the EditText against the current mask.

ValidateEdit attempts to validate the EditText after each keystroke, and when the user attempts to leave the masked edit field. If the EditText does not match the specifications of the EditMask, ValidateEdit calls ValidateError to raise an exception, and returns the cursor to the first position where the EditText did not comply with the EditMask.

See Also