property Tab.PageFromPoint (X as OLE_XPOS_PIXELS, Y as OLE_YPOS_PIXELS) as Long
Retrieves the number of the page over 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
Long A long expression that indicates the position of page over the cursor.

Use the PageFromPoint property to get the page over the cursor. The X and Y coordinates should be converted to control's client coordinates. The expression being returned by the PageFromPoint property should be translated using PosToIndex property if the Position property was used. Else, the position and the index is the same, so no confusion can be made. The PageFromPoint(-1,-1) returns the page from the current cursor.

The following sample prints the page's key  over the cursor:

Private Sub Tab1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
    With Tab1
        Dim p As Long
        p = .PageFromPoint(-1, -1)
        If (p >= 0) Then
            Debug.Print "The cursor is over the page '" & .Pages(.Pages.PosToIndex(p)).Key & "'"
        End If
    End With
End Sub