SftBox/OCX 4.5

SftBox.Item Property

Softel vdm, Inc.

Returns a SftBoxItem object given an item index.

Syntax       

Get

VB.NET

refItemObj = object.get_Item(ByVal ItemIndex As Integer)  As SftBoxItem

VB

Set refItemObj = object.Item(ByVal ItemIndex As Long)  As SftBoxItem

C#.NET

SftBoxItem refItemObj = object[int ItemIndex];

VC++

ISftBoxItem* refItemObj = object->Item[long ItemIndex];
ISftBoxItem* refItemObj = object->GetItem(long ItemIndex);

C

HRESULT object->get_Item(long ItemIndex, ISftBoxItem** refItemObj);

Delphi

refItemObj := object.Item[ItemIndex : Integer]  : ISftBoxItem;

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.

refItemObj

Returns a reference to the SftBoxItem object for item ItemIndex.

Comments

The Item property returns a SftBoxItem object given an item index.

The properties of the item can be updated using the returned SftBoxItem object.

Certain default properties and behavior for all items can be defined using the SftBoxItems object.


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