SftMask/OCX 7.0 Documentation

Error Image

The control supports an automatic error indicator in the form of an image next to the control, which provides visual feedback to the user that the data is required, invalid or missing.

The ImageEmpty, ImageInvalid, ImageRequired, ErrorPosition and ErrorHandling properties are used to control the appearance and behavior of the error image.

The ImageEmpty property defines the error image shown when the control's contents are empty (depending on the AllowEmpty and AllowEmptyWithoutMask properties). In addition, the MessageEmpty property defines the tooltip shown, when the mouse cursor hovers over the error image.

The ImageInvalid property defines the error image shown when the control's contents are invalid (based on the defined Mask or the CustomValidation event). In addition, the MessageInvalid property defines the tooltip shown, when the mouse cursor hovers over the error image.

The ImageRequired property defines the error image shown when data entry is required (depending on the AllowEmpty and AllowEmptyWithoutMask properties). In addition, the MessageRequired property defines the tooltip shown, when the mouse cursor hovers over the error image.

The ErrorPosition property defines the location of the error image, which can be located to the left of right of the input area.

The ErrorHandling property defines whether the error image is updated immediately as the control contents change or once the Contents.ValidMsg or Contents.ValidMsg properties are retrieved.


Last Updated 04/28/2018 - (email)
© 2018 Softel vdm, Inc.