-
I need to now if there is a way of making mouse over efects with buttons, i.e if i move my mouse over a commandbutton it will change colors and then when i remove the mouse it will revert to its original state. I guess what i am asking for is rollover effects.
thanks Jop for the help before....
-
<?>
Code:
Option Explicit
'add a checkbox to a form and set it's style to graphical
Private Sub Check1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Check1.BackColor = vbBlue
Check1.ForeColor = vbYellow
End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Check1.BackColor = vbRed
Check1.ForeColor = vbWhite
End Sub
-
If you're really desperate for changing the Button's forecolor look here my friend:
http://www.mvps.org/vbnet/code/subcl...ttoncolour.htm