Do anybody knows why the actions executed at MouseHover and MouseLeave events take so long to be executed?
For example, let's say i have a button on my form with red background color and i want the color to change to black when the user moves the mose within the button area.
The color changes, but way to slow (almost after 1 second)
Note: I use the [MyButton].BackColor = Color.[MyColor]
How can i make the color to change instantly?
Thanks!
For example, let's say i have a button on my form with red background color and i want the color to change to black when the user moves the mose within the button area.
The color changes, but way to slow (almost after 1 second)
Note: I use the [MyButton].BackColor = Color.[MyColor]
Code:
Public Class Form1
Private Sub Button8_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button8.MouseHover
Button1.BackColor = Color.Black
End Sub
Private Sub Button8_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button8.MouseLeave
Button1.BackColor = Color.Red
End Sub
End Class
How can i make the color to change instantly?
Thanks!