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 an item's cell text.
Deprecated - Provided for compatibility with earlier versions only - Use Cell.Text instead
Get
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]; _bstr_t Text = object->GetCellText(long ItemIndex, short ColIndex); |
C | HRESULT object->get_CellText(long ItemIndex, short ColIndex, BSTR* Text); |
Put
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; void object->PutCellText(long ItemIndex, short ColIndex, _bstr_t Text); |
C | HRESULT object->put_CellText(long ItemIndex, short ColIndex, BSTR Text); |
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.
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