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
Defines a column header's text.
Deprecated - Provided for compatibility with earlier versions only - Use Header.Text instead
Get
VB.NET | Text = object.get_ColumnText(ByVal ColIndex As Short) As String |
VB | Text = object.ColumnText(ByVal ColIndex As Integer) As String |
C#.NET | string Text = object.get_ColumnText(short ColIndex); |
VC++ | _bstr_t Text = object->ColumnText[short ColIndex]; _bstr_t Text = object->GetColumnText(short ColIndex); |
C | HRESULT object->get_ColumnText(short ColIndex, BSTR* Text); |
Put
VB.NET | object.set_ColumnText(ByVal ColIndex As Short, ByVal Text As String) |
VB | object.ColumnText(ByVal ColIndex As Integer) = Text As String |
C#.NET | void object.set_ColumnText(short ColIndex, string Text); |
VC++ | _bstr_t object->ColumnText[short ColIndex] = Text; void object->PutColumnText(short ColIndex, _bstr_t Text); |
C | HRESULT object->put_ColumnText(short ColIndex, BSTR Text); |
object
ColIndex
The zero-based column number.
Text
Defines a column header's text.
Deprecated - Provided for compatibility with earlier versions only - Use Header.Text instead
The ColumnText property defines a column header's text.
The alignment of the column header text can be defined using the Header.TextHAlign and Header.TextVAlign properties.
The column header text may contain new-line characters (CR-LF) if multi-line header text is enabled (see Headers.Multiline).
If the column header text is empty, the column header of the preceding column may merge into the empty column header, based on the Column.Merge and Column.MergeInto property settings. The row/column header never merges into a column header.
When defining column header text using the Columns property page, any trailing empty lines are automatically removed. To preserve a trailing empty line, add a space character to the line.
See Also SftTree Object | Object Hierarchy