RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomMaskEdit.ValidateEdit Method

Validates the EditText against the current mask.

Pascal
procedure ValidateEdit; virtual;
C++
virtual __fastcall ValidateEdit();

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

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!