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 G2antt1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) With G2antt1.Chart Debug.Print .LinkFromPoint(-1, -1) End With End Sub