SftMask/OCX 6.5

SftMask.DefaultText Property

Softel vdm, Inc.

Defines the control's default text.

Syntax       

Get

VB.NET

String = object.DefaultText  As String

VB

String = object.DefaultText  As String

C#.NET

string String = object.DefaultText;

VC++

_bstr_t String = object->DefaultText;
_bstr_t String = object->GetDefaultText();

C

HRESULT object->get_DefaultText(BSTR* String);

Delphi

String := object.DefaultText   : WideString;

Put

VB.NET

object.DefaultText = String  As String

VB

object.DefaultText = String  As String

C#.NET

string object.DefaultText = String;

VC++

_bstr_t object->DefaultText = String;
void object->PutDefaultText(_bstr_t String);

C

HRESULT object->put_DefaultText(BSTR String);

Delphi

object.DefaultText := String   : WideString;

object

A SftMask object.

String

Defines the control's default text. Special symbolic values can be used and are identical to the values used with the Text property.

Comments

The DefaultText property defines the control's default text.

If the control's contents are empty, the DefaultText property value is assigned to the Text property. The DefaultHandling property determines at which time the control contents are inspected.

To assign a default value for the control when the control is initially created or displayed, use the Text property instead.


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