SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Returns the interpreted control contents.
Get
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; _bstr_t Text = object->GetTextDisplay(); |
C | HRESULT object->get_TextDisplay(BSTR* Text); |
object
Text
Returns the interpreted control contents.
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 |
---|---|---|
Text | Chr(13) | ClipMode |
TextDisplay | Space | ClipMode |
TextDisplayNoLiterals | Space | No |
TextDisplayWithLiterals | Space | Yes |
TextPureNoLiterals | Chr(13) | No |
TextPureWithLiterals | Chr(13) | Yes |
See Also SftMask Object | Object Hierarchy