* <an*******@discussions.microsoft.com> scripsit:
Hello all, does anyone out there know how i can do a
mouseover for a button.
Events 'MouseEnter' and 'MouseLeave':
\\\
Private Sub Button1_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.MouseEnter
Me.Button1.BackColor = Color.Red
End Sub
Private Sub Button1_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.MouseLeave
Me.Button1.BackColor = Color.Blue
End Sub
///
--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>