TCustomMaskEdit.ValidationErrorMode property
Indicates the action taken when the control value is invalid for its mask.
Declaration
property ValidationErrorMode: TMaskEditValidationErrorMode read FValidationErrorMode write FValidationErrorMode default mvemException;Description
ValidationErrorMode is a
TMaskEditValidationErrorMode
property which indicates the action taken when the value for the control is
invalid for the mask in the
EditMask property.
The default value for the property is mvemException, and causes an
exception to be raised when control value is invalid for its mask. Use
mvemException to cause the OnValidationError event
handler to be signalled for the validation error.
The property value is used in the ValidateEdit method when
IsMasked is set to True and the EditText for the
control is not valid.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
