Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

CellItemData Property, SftTree Object

Defines a cell's application specific value.

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

Syntax

Get

VB.NETData = object.get_CellItemData(ByVal ItemIndex As Integer, ByVal ColIndex As Short) As Integer
VBData = object.CellItemData(ByVal ItemIndex As Long, ByVal ColIndex As Integer) As Long
C#.NETint Data = object.get_CellItemData(int ItemIndex, short ColIndex);
VC++long Data = object->CellItemData[long ItemIndex][short ColIndex];
long Data = object->GetCellItemData(long ItemIndex, short ColIndex);
CHRESULT object->get_CellItemData(long ItemIndex, short ColIndex, long* Data);

Put

VB.NETobject.set_CellItemData(ByVal ItemIndex As Integer, ByVal ColIndex As Short, ByVal Data As Integer)
VBobject.CellItemData(ByVal ItemIndex As Long, ByVal ColIndex As Integer) = Data As Long
C#.NETvoid object.set_CellItemData(int ItemIndex, short ColIndex, int Data);
VC++long object->CellItemData[long ItemIndex][short ColIndex] = Data;
void object->PutCellItemData(long ItemIndex, short ColIndex, long Data);
CHRESULT object->put_CellItemData(long ItemIndex, short ColIndex, long Data);

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.

Data

Defines the cell's application specific value.

Comments

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

The CellItemData property defines a cell's application specific value.

The CellItemData property can be used to store application specific data with a cell. Possible uses include storing pointers to data structures or values used for sorting purposes (see Items.SortDependents method).

The Cell.DataString, Cell.DataObject, Cell.DataTag properties can be used to store additional application specific data, using other data types (strings, objects, variants).

Additional properties used to associate an application defined value with an item are Item.Data, Item.DataTag, Item.DataObject, Item.DataFloat and Item.DataString. These are distinct properties and can be used at the same time.

See Also SftTree Object | Object Hierarchy


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


Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.