SftMask/OCX 6.5

SftMask.TextDisplayNoLiterals Property

Softel vdm, Inc.

Returns the interpreted control contents, without literal characters.

Syntax       

Get

VB.NET

Text = object.TextDisplayNoLiterals  As String

VB

Text = object.TextDisplayNoLiterals  As String

C#.NET

string Text = object.TextDisplayNoLiterals;

VC++

_bstr_t Text = object->TextDisplayNoLiterals;
_bstr_t Text = object->GetTextDisplayNoLiterals();

C

HRESULT object->get_TextDisplayNoLiterals(BSTR* Text);

Delphi

Text := object.TextDisplayNoLiterals   : WideString;

object

A SftMask object.

Text

Returns the interpreted control contents, without literal characters.

Comments

The TextDisplayNoLiterals property returns the interpreted control contents, without literal characters.

When retrieving the TextDisplayNoLiterals property in a Masked Edit control (with Mask), input positions without data are represented by the space character.

Literal characters are never returned.

It is possible to retrieve portions of the control contents using the Contents.Value property.

The properties Text, TextDisplay, TextDisplayWithLiterals, TextPureWithLiterals and TextPureNoLiterals also retrieve the control contents with varying handling of unspecified input positions and literal characters.

Property

Unspecified Positions

Literals

Text

Chr(13)

ClipMode

TextDisplay

Space

ClipMode

TextDisplayNoLiterals

Space

No

TextDisplayWithLiterals

Space

Yes

TextPureNoLiterals

Chr(13)

No

TextPureWithLiterals

Chr(13)

Yes


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