property Chart.NoteFromPoint (X as OLE_XPOS_PIXELS, Y as OLE_YPOS_PIXELS) as Note
Retrieves the note from the point.

TypeDescription
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.
Note A Note object from the cursor. Nothing or Null object of no note from the point.
The NoteFromPoint property retrieves the note from the cursor or specified point. If the X parameter is -1 and Y parameter is -1 the NoteFromPoint property determines the Note object from the cursor. Use the ItemFromPoint property to get the cell/item from the cursor. Use the ColumnFromPoint property to retrieve the column from cursor. Use the LevelFromPoint property to retrieve the index of the level from the cursor.  The DateFromPoint property determines the DATE from the cursor.  Use the LinkFromPoint property to get the link from the point. Use the BarFromPoint property to get the bar from the point.

The following VB sample displays the ID of the Note from the cursor:

Private Sub G2antt1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
    With G2antt1.Chart
        Dim n As EXG2ANTTLibCtl.Note
        Set n = .NoteFromPoint(-1, -1)
        If (Not n Is Nothing) Then
            Debug.Print n.ID
        End If
    End With
End Sub