HeaderPane
Main
Hide
Share Link
Print

ErrorHandling Property, SftMask Object

Defines error image handling.

Syntax

Get

C#SftMaskErrorHandlingConstants Style = object.ErrorHandling;
VB.NETStyle = object.ErrorHandling As SftMaskErrorHandlingConstants
C++enum SftMaskErrorHandlingConstants Style = object->ErrorHandling;
enum SftMaskErrorHandlingConstants Style = object->GetErrorHandling();
CHRESULT object->get_ErrorHandling(enum SftMaskErrorHandlingConstants* Style);
VBStyle = object.ErrorHandling As SftMaskErrorHandlingConstants

Put

C#SftMaskErrorHandlingConstants object.ErrorHandling = Style;
VB.NETobject.ErrorHandling = Style As SftMaskErrorHandlingConstants
C++enum SftMaskErrorHandlingConstants object->ErrorHandling = Style;
void object->PutErrorHandling(enum SftMaskErrorHandlingConstants Style);
CHRESULT object->put_ErrorHandling(enum SftMaskErrorHandlingConstants Style);
VBobject.ErrorHandling = Style As SftMaskErrorHandlingConstants

object

A SftMask object.

Style

Defines error image handling.

NameValueDescription
errorHandlingSftMaskDelayed0Delayed - The error image is only updated once the Contents.Valid or Contents.ValidMsg properties are retrieved.
errorHandlingSftMaskImmediate1Immediate - The error image is always updated immediately as the control contents change.

Comments

The ErrorHandling property defines error image handling.

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

If the ImageRequired property defines a valid image, the error image is immediately shown when data entry is required (depending on the AllowEmpty and AllowEmptyWithoutMask properties). The ErrorHandling property has no effect in this case.

See Also SftMask Object | Object Hierarchy


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.