|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
MouseHover doesn't work?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 ? -- Patrice "Ronald S. Cook" <rc***@westinis.com> a écrit dans le message de news: OcqP%23oQpGHA.1***@TK2MSFTNGP04.phx.gbl...Show quoteHide quote >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 > > 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. Show quoteHide quote "Patrice" <scr***@chez.com> wrote in message news:egk3KARpGHA.4932@TK2MSFTNGP05.phx.gbl... > 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 > ? > > -- > Patrice > > "Ronald S. Cook" <rc***@westinis.com> a écrit dans le message de news: > OcqP%23oQpGHA.1***@TK2MSFTNGP04.phx.gbl... >>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 >> >> > > "Ronald S. Cook" <rc***@westinis.com> schrieb: Which Windows/.NET Framework versions are you using?> 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. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> Windows XP Pro/VS 2005 Pro/.NET Framework 2.0
Show quoteHide quote "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message news:e3hQy6RpGHA.4848@TK2MSFTNGP03.phx.gbl... > "Ronald S. Cook" <rc***@westinis.com> schrieb: >> 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? > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://classicvb.org/petition/>
circular left shift in VB
WithEvents Design related question About threading Copy file Servlet Counterpart in VB.NET Can not create 2 properties with same signature. Updating a specific cell in a SQL database Parsing a string that contains HTML ? Can i read the text in MSword document using Word Object Library? |
|||||||||||||||||||||||