Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

DefaultText Property, SftMask Object

Defines the control's default text.

Syntax

Get

VB.NETString = object.DefaultText As String
VBString = object.DefaultText As String
C#.NETstring String = object.DefaultText;
VC++_bstr_t String = object->DefaultText;
_bstr_t String = object->GetDefaultText();
CHRESULT object->get_DefaultText(BSTR* String);

Put

VB.NETobject.DefaultText = String As String
VBobject.DefaultText = String As String
C#.NETstring object.DefaultText = String;
VC++_bstr_t object->DefaultText = String;
void object->PutDefaultText(_bstr_t String);
CHRESULT object->put_DefaultText(BSTR String);

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.

See Also SftMask Object | Object Hierarchy


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