Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

ErrorHandling Property, SftMask Object

Defines error image handling.

Syntax

Get

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

Put

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

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 08/13/2020 - (email)
© 2024 Softel vdm, Inc.