SftTree/OCX 7.0

SftTree.Cell Property

Softel vdm, Inc.

Returns a SftTreeCell object for a given item/column.

Syntax       

Get

VB.NET

refCellObj = object.get_Cell(ByVal ItemIndex As Integer, ByVal ColIndex As Short)  As SftTreeCell

VB

Set refCellObj = object.Cell(ByVal ItemIndex As Long, ByVal ColIndex As Integer)  As SftTreeCell

C#.NET

SftTreeCell refCellObj = object.Cell[int ItemIndex][short ColIndex];

VC++

ISftTreeCell* refCellObj = object->Cell[long ItemIndex][short ColIndex];
ISftTreeCell* refCellObj = object->GetCell(long ItemIndex, short ColIndex);

C

HRESULT object->get_Cell(long ItemIndex, short ColIndex, ISftTreeCell** refCellObj);

Delphi

refCellObj := object.Cell[ItemIndex : Integer; ColIndex : Smallint]  : ISftTreeCell;

object

A SftTree object.

ItemIndex

The zero-based index of the item.  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.

refCellObj

Returns a SftTreeCell object for a given item/column.

Comments

The Cell property returns a SftTreeCell object for a given item/column.

The SftTreeCell object represents one cell in a SftTree/OCX control.  Numerous cell-specific properties and methods can be accessed using the returned object refCellObj.

A SftTreeCell object can also be obtained through an item's Item.Cell property.

Certain default properties and behavior for cells can be defined using the SftTreeColumn object.

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com