ItemFromHandle
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
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