SftMask/OCX 6.5

SftMask.AutoTab Property

Softel vdm, Inc.

Defines whether the next control in the tab order receives the input focus after valid data has been entered.

Syntax       

Get

VB.NET

Boolean = object.AutoTab  As Boolean

VB

Boolean = object.AutoTab  As Boolean

C#.NET

bool Boolean = object.AutoTab;

VC++

VARIANT_BOOL Boolean = object->AutoTab;
VARIANT_BOOL Boolean = object->GetAutoTab();

C

HRESULT object->get_AutoTab(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.AutoTab   : WordBool;

Put

VB.NET

object.AutoTab = Boolean  As Boolean

VB

object.AutoTab = Boolean  As Boolean

C#.NET

bool object.AutoTab = Boolean;

VC++

VARIANT_BOOL object->AutoTab = Boolean;
void object->PutAutoTab(VARIANT_BOOL Boolean);

C

HRESULT object->put_AutoTab(VARIANT_BOOL Boolean);

Delphi

object.AutoTab := Boolean   : WordBool;

object

A SftMask object.

Boolean

Defines whether the next control in the tab order receives the input focus after valid data has been entered.

Boolean

Description

True

The input focus advances to the next control.

False

The input focus remains unchanged.

Comments

The AutoTab property defines whether the next control in the tab order receives the input focus after valid data has been entered.

The input focus can automatically advance to the next control in the tab order once the data entered into the control is valid. Input data is considered valid if it matches the defined mask (Mask property) completely and the CustomValidation event succeeds (i.e., Cancel is set to False).

The AutoTab property has no effect if the control is used as a simple edit control (without Mask).


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