SftMask/OCX 6.5

SftMask.DefaultHandling Property

Softel vdm, Inc.

Defines the default text handling.

Syntax       

Get

VB.NET

Style = object.DefaultHandling  As SftMaskDefaultHandlingConstants

VB

Style = object.DefaultHandling  As SftMaskDefaultHandlingConstants

C#.NET

SftMaskDefaultHandlingConstants Style = object.DefaultHandling;

VC++

enum SftMaskDefaultHandlingConstants Style = object->DefaultHandling;
enum SftMaskDefaultHandlingConstants Style = object->GetDefaultHandling();

C

HRESULT object->get_DefaultHandling(enum SftMaskDefaultHandlingConstants* Style);

Delphi

Style := object.DefaultHandling  : TOleEnum;

Put

VB.NET

object.DefaultHandling = Style  As SftMaskDefaultHandlingConstants

VB

object.DefaultHandling = Style  As SftMaskDefaultHandlingConstants

C#.NET

SftMaskDefaultHandlingConstants object.DefaultHandling = Style;

VC++

enum SftMaskDefaultHandlingConstants object->DefaultHandling = Style;
void object->PutDefaultHandling(enum SftMaskDefaultHandlingConstants Style);

C

HRESULT object->put_DefaultHandling(enum SftMaskDefaultHandlingConstants Style);

Delphi

object.DefaultHandling := Style  : TOleEnum;

object

A SftMask object.

Style

Defines the default text handling.

Name

Value

Description

dfltSftMaskImmediate

0

Immediate - If the control's contents are empty, the default text defined using the DefaultText property is restored as the default value in the control.

dfltSftMaskDelayed

1

Delayed - 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


Feedback / comments / error reports for this topic
© 2000, 2008 - Softel vdm, Inc. - www.softelvdm.com