property SwimLane.ElementFromPoint (X as OLE_XPOS_PIXELS, Y as OLE_YPOS_PIXELS) as Element
Gets the Element object from the cursor.

TypeDescription
X as OLE_XPOS_PIXELS A Long expression that specifies the x-cursor position.
Y as OLE_YPOS_PIXELS A Long expression that specifies the y-cursor position.
Element An Element object from the cursor
The ElementFromPoint(-1,-1) property returns the element from the cursor or nothing if no element at the current cursor position. The ElementFromPosition property determines the element from the surface giving the coordinates on the surface. Use the LinkFromPoint property to get if there is any link at the specified position. The HitTestFromPoint(-1,-1) property returns the element and the hit-test code from the cursor. The ShowHandCursorOn property specifies the parts of the element that shows the hand cursor when the mouse-pointer hovers the part. The HitTestFromPoint(-1,-1) property returns the element/hit-test code from the cursor.