property Items.VirtualToItem (Index as Long) as HITEM
Gets the handle of the item giving the index of the virtual item.

TypeDescription
Index as Long A long expression that indicates the index of the virtual item.
HITEM A long expression that indicates the handle of the item.

The VirtualToItem property converts the the index of the virtual item/record to the handle of the item. The VirtualToItem property scrolls the control's content to make sure that the virtual item is in the control's client area. The VirtualToItem property has effect only if the control is running in the virtual mode. Use the ItemToVirtual property to get the index of the virtual item based on the handle of the item.

The following sample VB notifies the n object that the user changes the data in the control:

Private Sub Grid1_Change(ByVal Item As EXGRIDLibCtl.HITEM, ByVal ColIndex As Long, newValue As Variant)
    With Grid1.Items
        n.Change .ItemToVirtual(Item), ColIndex, newValue
    End With
End Sub