ShovelinFishHeads
Registered User.
- Local time
- Today, 14:49
- Joined
- Aug 4, 2016
- Messages
- 57
I have a bound form that I am working to make function like a menu (you know the old style where the items "highlight" as you move a mouse over them?)
So I am using this to make a textbox "change" while the mouse is over it:
Private Sub View_Activity_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.[View Activity].ForeColor = vbWhite
Me.[View Activity].BackColor = vbBlack
End Sub
Then I want to use:
Me.[View Activity].ForeColor = vbBlack
Me.[View Activity].BackColor = vbWhite
as soon as the user moves the mouse off of the textbox (so the textbox goes back to it's normal state)
What event must be used to do this? Isn't there a "mouseover" event to do this?
So I am using this to make a textbox "change" while the mouse is over it:
Private Sub View_Activity_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.[View Activity].ForeColor = vbWhite
Me.[View Activity].BackColor = vbBlack
End Sub
Then I want to use:
Me.[View Activity].ForeColor = vbBlack
Me.[View Activity].BackColor = vbWhite
as soon as the user moves the mouse off of the textbox (so the textbox goes back to it's normal state)
What event must be used to do this? Isn't there a "mouseover" event to do this?