MouseHover doesn't work?

  • Thread starter Thread starter Ronald S. Cook
  • Start date Start date
R

Ronald S. Cook

I have a label on a Windows form. I have the following code which doesn't
work when I mouse over the label. Any idea why? If I change MouseHover to
MouseEnter it works. So, what good is MouseHover?

Private Sub Label1_MouseHover(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Label1.MouseHover
Label1.Text = "Yo mama"

End Sub



Thanks,

Ron
 
Works fine here with MouseHover (and depending on what you are doing, Enter
might well be better here). Is this while something else is going on ?
 
This is weird. I create a VB.NET Windows project. I add Label1 to my
Form1. I add that code below. I run the app. I place the mouse over the
label and... nothing.
 
Ronald S. Cook said:
This is weird. I create a VB.NET Windows project. I add Label1 to my
Form1. I add that code below. I run the app. I place the mouse over the
label and... nothing.

Which Windows/.NET Framework versions are you using?
 
Back
Top