property FaceTree.ItemFromPoint (X as OLE_XPOS_PIXELS, Y as OLE_YPOS_PIXELS) as Long
Retrieves the index of the item from the point.

TypeDescription
X as OLE_XPOS_PIXELS A single expression that indicates the X position in client coordinate
Y as OLE_YPOS_PIXELS A single expression that indicates the Y position in client coordinate
Long A Long expression that indicates the index of the item from the point, or -1 if not found.
The ItemFromPoint property retrieves the index of the item from the point. The ItemFromPoint(-1,-1) property retrieves the index of the item from the current mouse position. The Index property specifies the index of the item within face's items collection. The ItemByIndex property retrieves an Item object based on its index. The Item property retrieves the Item object giving its position. The Position property specifies the position of the item relative to its parent.