|
|
|
SftTree.ColumnText Property |
Defines a column header's text.
Deprecated - Provided for compatibility with earlier versions only - Use Header.Text instead
Syntax
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];
|
||
C |
HRESULT object->get_ColumnText(short ColIndex, BSTR* Text); |
||
Delphi |
Text := object.ColumnText[ColIndex : Smallint] : WideString; |
||
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;
|
||
C |
HRESULT object->put_ColumnText(short ColIndex, BSTR Text); |
||
Delphi |
object.ColumnText[ColIndex : Smallint] := Text : WideString; |
object
A SftTree object.
ColIndex
The zero-based column number.
Text
Defines a column header's text.
Comments
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