Posted on 1998-08-11
I've got a series of buttons on a form. I want the buttons BackColor proprty to change from default gray to red when the user's mouse moves over the button. The buttons' Style is set to Graphical. I know how to make the button change colors once, but not change back to default gray when its NOT selected.
Private Sub cmdButton1_MouseMove(Button As Integer, Shift
As Integer, X As Single, Y As Single)
cmdButton1.BackColor = &HC0FFFF
Changes the background color of the button when the mouse is over it. Anyone got an idea?
BTW - The buttons are NOT in an array. They are all named separately (for a reason).