Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

TextDisplay Property, SftMask Object

Returns the interpreted control contents.

Syntax

Get

VB.NETText = object.TextDisplay As String
VBText = object.TextDisplay As String
C#.NETstring Text = object.TextDisplay;
VC++_bstr_t Text = object->TextDisplay;
_bstr_t Text = object->GetTextDisplay();
CHRESULT object->get_TextDisplay(BSTR* Text);

object

A SftMask object.

Text

Returns the interpreted control contents.

Comments

The TextDisplay property returns the interpreted control contents.

When retrieving the TextDisplay property in a Masked Edit control (with Mask), input positions without data are represented by the space character. The otherwise equivalent Text property returns carriage return (Chr(13)) characters instead.

The ClipMode property affects the handling of literal characters.

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

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

PropertyUnspecified PositionsLiterals
TextChr(13)ClipMode
TextDisplaySpaceClipMode
TextDisplayNoLiteralsSpaceNo
TextDisplayWithLiteralsSpaceYes
TextPureNoLiteralsChr(13)No
TextPureWithLiteralsChr(13)Yes

See Also SftMask Object | Object Hierarchy


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