Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

Label Property, SftMask Object

Defines the label displayed in the control's input area.

Syntax

Get

VB.NETString = object.Label As String
VBString = object.Label As String
C#.NETstring String = object.Label;
VC++_bstr_t String = object->Label;
_bstr_t String = object->GetLabel();
CHRESULT object->get_Label(BSTR* String);

Put

VB.NETobject.Label = String As String
VBobject.Label = String As String
C#.NETstring object.Label = String;
VC++_bstr_t object->Label = String;
void object->PutLabel(_bstr_t String);
CHRESULT object->put_Label(BSTR String);

object

A SftMask object.

String

Defines the label displayed in the control's input area. If String is defined as "|" (vertical bar), the label displays the currency symbol defined by the default user locale.

Comments

The Label property defines the label displayed in the control's input area.

Unlike the control's caption, the label area is displayed within the control's input area. It is best used for brief information, like units (oz, kg, inch, cm, etc.) or currency symbols.

The label contents are for display purposes only and cannot be edited by the user. The label is not part of the control's Text property.

The LabelPosition property defines the location of the label.

See Also SftMask Object | Object Hierarchy


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