Type | Description | |||
X as OLE_XPOS_PIXELS | A single that specifies the current X location of the mouse pointer. The x values is always expressed in client coordinates. | |||
Y as OLE_YPOS_PIXELS | A single that specifies the current Y location of the mouse pointer. The y values is always expressed in client coordinates. | |||
Variant | A VARIANT expression that indicates the key of the link from the cursor, or empty if no link at cursor. |
The following VB sample displays the key of the link from the cursor:
Private Sub Gantt1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) With Gantt1.Chart Debug.Print .LinkFromPoint(-1, -1) End With End Sub