SftBox/OCX 4.5

SftBox.Cell Property

Softel vdm, Inc.

Returns a SftBoxCell object for a given item index and column number.

Syntax       

Get

VB.NET

refCellObj = object.get_Cell(ByVal ItemIndex As Integer, ByVal ColNum As Short)  As SftBoxCell

VB

Set refCellObj = object.Cell(ByVal ItemIndex As Long, ByVal ColNum As Integer)  As SftBoxCell

C#.NET

SftBoxCell refCellObj = object.get_Cell(int ItemIndex, short ColNum);

VC++

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

C

HRESULT object->get_Cell(long ItemIndex, short ColNum, ISftBoxCell** refCellObj);

Delphi

refCellObj := object.Cell[ItemIndex : Integer; ColNum : Smallint]  : ISftBoxCell;

object

A SftBox object.

ItemIndex

The zero-based index of the item. The item index is determined by the item's position in the control and is also returned by the methods used to add or insert items.

ColNum

The zero-based index of the column to be accessed. The number of available columns is defined using the Columns.Count property.

refCellObj

Returns a reference to the SftBoxCell object for the cell at column ColNum of the item ItemIndex

Comments

The Cell property returns a SftBoxCell object for a given item index and column number.

The properties of the cell can be updated using the returned SftBoxCell object.

The Cell property is identical to the Item.Cell property. They return the same object.


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