|
|
|
SftMask.TextDisplay Property |
Returns the interpreted control contents.
Syntax
VB.NET |
Text = object.TextDisplay As String |
||
VB |
Text = object.TextDisplay As String |
||
C#.NET |
string Text = object.TextDisplay; |
||
VC++ |
_bstr_t Text = object->TextDisplay;
|
||
C |
HRESULT object->get_TextDisplay(BSTR* Text); |
||
Delphi |
Text := object.TextDisplay : WideString; |
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.
Property |
Unspecified Positions |
Literals |
Chr(13) |
||
TextDisplay |
Space |
|
Space |
No |
|
Space |
Yes |
|
Chr(13) |
No |
|
Chr(13) |
Yes |