ItemFromHandle

[method icon] ItemFromHandle(iHandle)

Used to access a list item by handle value

iHandle Integer

Returns result of type OBJECT or SYM

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

Introduced in KCML version 6.60


>ItemFromHandle

ItemFromHandle

This method returns a list item object given its handle.

For example:

 DIM Handle
 DIM OBJECT Item
 Handle = .ListControl1.Add(ItemText$)
 OBJECT Item = .ListControl1.ItemFromHandle(Handle)
 Item.Selected = TRUE

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.