property Items.ItemByIndex (Index as Long)
as HITEM
Retrieves the handle of the item given its index in the Items collection..
Type
Description
Index as Long
A long value that indicates the item's index.
HITEM
A long expression that indicates the item's handle
Use the ItemByIndex to get the index of an item. Use the ItemCount
property to count the items in the control. the Use the ItemPosition
property to get the item's position. Use the ItemToIndex
property to get the index of giving item. For instance, The
ItemByIndex property is the default property for Items object, so
the following statements are equivalents: View1.Items(0),
View1.Items.ItemByIndex(0).