[Visual Basic] Private Function GetTabPageFromXY( _
ByVal x As Integer, _
ByVal y As Integer _
) As TabPage
[Visual Basic] Private Function GetTabPageFromXY(ByVal x As Integer, ByVal y As Integer) As TabPage
For i As Integer = 0 To MyBase.TabPages.Count - 1
If MyBase.GetTabRect(i).Contains(x, y) Then
Return MyBase.TabPages(i)
End If
Next
Return Nothing
End Function
Plattformen: Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition