property Ribbon.ItemFromPoint (X as OLE_XPOS_PIXELS, Y as OLE_YPOS_PIXELS) as Item
Retrieves the item from the cursor.
Type
Description
X as OLE_XPOS_PIXELS
A long expression that specifies the x-position to request item from
Y as OLE_YPOS_PIXELS
A long expression that specifies the y-position to request item from
Item
Returns the Item object from the cursor.
The ItemFromPoint(-1.-1) property determines the item from current cursor.