|
|
|
SftTree.CellText Property |
Defines an item's cell text.
Deprecated - Provided for compatibility with earlier versions only - Use Cell.Text instead
Syntax
VB.NET |
Text = object.get_CellText(ByVal ItemIndex As Integer, ByVal ColIndex As Short) As String |
||
VB |
Text = object.CellText(ByVal ItemIndex As Long, ByVal ColIndex As Integer) As String |
||
C#.NET |
string Text = object.get_CellText(int ItemIndex, short ColIndex); |
||
VC++ |
_bstr_t Text = object->CellText[long ItemIndex][short ColIndex];
|
||
C |
HRESULT object->get_CellText(long ItemIndex, short ColIndex, BSTR* Text); |
||
Delphi |
Text := object.CellText[ItemIndex : Integer; ColIndex : Smallint] : WideString; |
||
VB.NET |
object.set_CellText(ByVal ItemIndex As Integer, ByVal ColIndex As Short, ByVal Text As String) |
||
VB |
object.CellText(ByVal ItemIndex As Long, ByVal ColIndex As Integer) = Text As String |
||
C#.NET |
void object.set_CellText(int ItemIndex, short ColIndex, string Text); |
||
VC++ |
_bstr_t object->CellText[long ItemIndex][short ColIndex] = Text;
|
||
C |
HRESULT object->put_CellText(long ItemIndex, short ColIndex, BSTR Text); |
||
Delphi |
object.CellText[ItemIndex : Integer; ColIndex : Smallint] := Text : WideString; |
object
A SftTree object.
ItemIndex
The zero-based item index. The combination of ItemIndex and ColIndex describes an individual cell.
ColIndex
The zero-based column number. The combination of ItemIndex and ColIndex describes an individual cell.
Text
Defines an item's cell text.
Comments
Deprecated - Provided for compatibility with earlier versions only - Use Cell.Text instead
The CellText property defines an item's cell text.
The Items.Add, Items.Insert and Items.InsertAfter methods add new items. The text specified when adding new items always defines the cell text for the first or only column (column 0).
The cell text may contain new-line characters (CR-LF) if multi-line cell text is enabled (see Items.Lines and Column.CellMultiline).
If the cell text is empty, the cell in the preceding column may merge into the empty cell, based on the Column.MergeInto property settings.
The default cell text alignment for a column is defined using the Column.CellHAlign and Column.CellVAlign properties. A cell can override the default using the Cell.TextHAlign and Cell.TextVAlign properties.
See Also SftTree Object | Object Hierarchy