G
Guest
I am new to VB and I am creating a simple calculator for practice. I am using
VB .Net
I want button's background color to change when mouse hover over it but VB
keep tell me that Name 'color' is not declared.
following is the code
Private Sub plus_button_MouseHover(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles plus_button.MouseHover
plus_button.BackColor = Color.Blue
End Sub
VB .Net
I want button's background color to change when mouse hover over it but VB
keep tell me that Name 'color' is not declared.
following is the code
Private Sub plus_button_MouseHover(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles plus_button.MouseHover
plus_button.BackColor = Color.Blue
End Sub