Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

DefaultHandling Property, SftMask Object

Defines the default text handling.

Syntax

Get

VB.NETStyle = object.DefaultHandling As SftMaskDefaultHandlingConstants
VBStyle = object.DefaultHandling As SftMaskDefaultHandlingConstants
C#.NETSftMaskDefaultHandlingConstants Style = object.DefaultHandling;
VC++enum SftMaskDefaultHandlingConstants Style = object->DefaultHandling;
enum SftMaskDefaultHandlingConstants Style = object->GetDefaultHandling();
CHRESULT object->get_DefaultHandling(enum SftMaskDefaultHandlingConstants* Style);

Put

VB.NETobject.DefaultHandling = Style As SftMaskDefaultHandlingConstants
VBobject.DefaultHandling = Style As SftMaskDefaultHandlingConstants
C#.NETSftMaskDefaultHandlingConstants object.DefaultHandling = Style;
VC++enum SftMaskDefaultHandlingConstants object->DefaultHandling = Style;
void object->PutDefaultHandling(enum SftMaskDefaultHandlingConstants Style);
CHRESULT object->put_DefaultHandling(enum SftMaskDefaultHandlingConstants Style);

object

A SftMask object.

Style

Defines the default text handling.

NameValueDescription
dfltSftMaskImmediate0Immediate - If the control's contents are empty, the default text defined using the DefaultText property is restored as the default value in the control.
dfltSftMaskDelayed1Delayed - When the control loses the input focus and the control's contents are empty, the default text defined using the DefaultText property is restored as the default value in the control.

Comments

The DefaultHandling property defines the default text handling.

The DefaultHandling property determines when the control contents are inspected and, if empty, the DefaultText property value is assigned to the Text property. If the DefaultText property is empty, the DefaultHandling property has no effect.

See Also SftMask Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.