SftBox/OCX 4.5

SftBoxItem.ItemIndex Property

Softel vdm, Inc.

Returns the item index of this item.

Syntax       

Get

VB.NET

Value = object.ItemIndex  As Integer

VB

Value = object.ItemIndex  As Long

C#.NET

int Value = object.ItemIndex;

VC++

long Value = object->ItemIndex;
long Value = object->GetItemIndex();

C

HRESULT object->get_ItemIndex(long* Value);

Delphi

Value := object.ItemIndex   : Integer;

object

A SftBoxItem object.

Value

Returns 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.

Comments

The ItemIndex property returns the item index of this item.

The ItemIndex property can be used to retrieve an item's index (or position) if a SftBoxItem object is available.


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