Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

TextPureWithLiterals Property, SftMask Object

Returns the pure control contents, including literal characters.

Syntax

Get

VB.NETText = object.TextPureWithLiterals As String
VBText = object.TextPureWithLiterals As String
C#.NETstring Text = object.TextPureWithLiterals;
VC++_bstr_t Text = object->TextPureWithLiterals;
_bstr_t Text = object->GetTextPureWithLiterals();
CHRESULT object->get_TextPureWithLiterals(BSTR* Text);

object

A SftMask object.

Text

Returns the pure control contents, including literal characters.

Comments

The TextPureWithLiterals property returns the pure control contents, including literal characters.

When retrieving the property TextPureWithLiterals in a Masked Edit control (with Mask), input positions without data are represented by the carriage return (Chr(13)) character. This allows the distinction between unspecified data and specified (but blank) data fields. A simple edit control (without Mask) does not have unspecified positions and never uses the carriage return place holder.

Literal characters are always returned.

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

The properties Text, TextDisplay, TextDisplayWithLiterals, TextDisplayNoLiterals 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.