Good morning,
I was wanting to create an event to happen if a mouse is hovered over a button.
I want it so another button appears but will go away if I mouse back off the original button.
this is my code so far:
Code:
Private Sub Command26_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.cmdMagic.Visible = True
End Sub
and for the default value
Code:
Private Sub Default_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.cmdMagic.Visible = False
End Sub
It doesn't work right because I have to set the default value of the magic button visible to false. When I mouse over the command26 button cmdMagic appears but it wont go away after I mouse back off.
Any idea?
Thank you