SftMask/OCX 6.5

SftMaskContents.Empty Property

Softel vdm, Inc.

Determines whether data has been entered.

Syntax       

Get

VB.NET

Boolean = object.Empty  As Boolean

VB

Boolean = object.Empty  As Boolean

C#.NET

bool Boolean = object.Empty;

VC++

VARIANT_BOOL Boolean = object->Empty;
VARIANT_BOOL Boolean = object->GetEmpty();

C

HRESULT object->get_Empty(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.Empty   : WordBool;

object

A SftMaskContents object.

Boolean

Determines whether data has been entered.

Boolean

Description

True

The contents of the control are empty. The user has not entered any data.

False

The contents of the control are not empty.

Comments

The Empty property determines whether data has been entered.

The AllowEmpty property can be used to enable optional data input.

If the DefaultText property is used, the control contents are automatically updated with string defined by the DefaultText property. In that case, the control is no longer considered empty and the Empty property will return False. 


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