ItemFromIndex

[method icon] ItemFromIndex(iIndex)

Used to access a list item by index

iIndex Integer

Returns result of type OBJECT or SYM

Applies to: ComboBox , Grid , GridCell , KCMLEdit , List Box

Introduced in KCML version 6.60


>ItemFromIndex

ItemFromIndex

This method returns a list item object given its index.

For example:

 Index = .ListControl1.Index
 OBJECT Item = ItemFromIndex(Index)
 Item.Selected = FALSE

See also

ComboBox methods, properties and events. Grid methods, properties and events. GridCell methods, properties and events. KCMLEdit methods, properties and events. List Box methods, properties and events.