SftMask/OCX 6.5

SftMask.FormattedText Property

Softel vdm, Inc.

Defines the control's formatted display text.

Syntax       

Get

VB.NET

String = object.FormattedText  As String

VB

String = object.FormattedText  As String

C#.NET

string String = object.FormattedText;

VC++

_bstr_t String = object->FormattedText;
_bstr_t String = object->GetFormattedText();

C

HRESULT object->get_FormattedText(BSTR* String);

Delphi

String := object.FormattedText   : WideString;

Put

VB.NET

object.FormattedText = String  As String

VB

object.FormattedText = String  As String

C#.NET

string object.FormattedText = String;

VC++

_bstr_t object->FormattedText = String;
void object->PutFormattedText(_bstr_t String);

C

HRESULT object->put_FormattedText(BSTR String);

Delphi

object.FormattedText := String   : WideString;

object

A SftMask object.

String

Defines the text to be displayed when the control does not have the input focus. If this is an empty string, the control’s contents are displayed.

Comments

The FormattedText property defines the control's formatted display text.

The FormattedText property contents are displayed in the edit control when the control does not have the input focus. This could be used to display specially formatted text while the user is not entering text.

If the control does not have the input focus, the FormattedText property contents are displayed. If the mouse cursor moves over the edit control, the regular edit control contents are displayed momentarily.


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