Sign in Join
FPDoc Onlineexperiment

TMaskEdit.ValidationErrorMode property

Member of TMaskEditpublishedIn unit MaskEdit

Indicates the action taken when the control value is invalid for its mask.

Declaration

pascal
property ValidationErrorMode:;

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.

This description is the one of MaskEdit.TCustomMaskEdit.ValidationErrorMode.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.