Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

List Property, SftTree Object

Defines an item's cell text.

Deprecated - Provided for compatibility with earlier versions only - Use Cell.Text instead

Syntax

Get

VB.NETText = object.get_List(ByVal ItemIndex As Integer, ByVal ColIndex As Short) As String
VBText = object.List(ByVal ItemIndex As Long, ByVal ColIndex As Integer) As String
C#.NETstring Text = object.get_List(int ItemIndex, short ColIndex);
VC++_bstr_t Text = object->List[long ItemIndex][short ColIndex];
_bstr_t Text = object->GetList(long ItemIndex, short ColIndex);
CHRESULT object->get_List(long ItemIndex, short ColIndex, BSTR* Text);

Put

VB.NETobject.set_List(ByVal ItemIndex As Integer, ByVal ColIndex As Short, ByVal Text As String)
VBobject.List(ByVal ItemIndex As Long, ByVal ColIndex As Integer) = Text As String
C#.NETvoid object.set_List(int ItemIndex, short ColIndex, string Text);
VC++_bstr_t object->List[long ItemIndex][short ColIndex] = Text;
void object->PutList(long ItemIndex, short ColIndex, _bstr_t Text);
CHRESULT object->put_List(long ItemIndex, short ColIndex, BSTR Text);

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 List property defines an item's cell text.

The List property cannot be used to add or insert new items. The Items.Add and Items.Insert 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 cell text alignment can be defined using the Column.CellHAlign and Column.CellVAlign properties.

See Also SftTree Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.