
Detecting mouse move on a menu
Use the MouseMove function for each object and for the form. For example, I
use a menu of command buttons. To animate them, I used the MouseMove
function for each of them.
Private Sub Form_MouseMove
Command1.FontBold = False
Command2.FontBold = False
End Sub
Private Sub Command1_MouseMove
Command1.FontBold = True
Command2.FontBold = False
End Sub
Private Sub Command2_MouseMove
Command1.FontBold = False
Command2.FontBold = True
End Sub
Of course, you can post whatever you want within each event. I also use the
MouseMove to change text in the status bar at the bottom of my form:
Private Sub Command2_MouseMove
StatusBar1.Panels(1).Text = "Add new customer"
Hope this helps.