By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,089 Members | 1,152 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,089 IT Pros & Developers. It's quick & easy.

the problem of ToolTips's displaying

P: n/a
Hi all,
I set the ToolTips when the solution is running.
as follows:
ToolTip1.SetToolTip(Me.Label1, "nothing")
ToolTip1.AutomaticDelay = 10
ToolTip1.AutoPopDelay = 5000
ToolTip1.ShowAlways = True

then ,when I move mouse over Label1, "nothing" is showed, then repeat
the action above, it does well.
But when the time which mouse over Label1 is more than 5000, the
ToolTip is disappear, and whatever you do, the "nothing" will never be
showed again.

Can anyone tell me the reason.
Thanks :-)
Jun 27 '08 #1
Share this Question
Share on Google+
4 Replies


P: n/a
On Jun 10, 9:37 am, "fts2...@gmail.com" <fts2...@gmail.comwrote:
Hi all,
I set the ToolTips when the solution is running.
as follows:
ToolTip1.SetToolTip(Me.Label1, "nothing")
ToolTip1.AutomaticDelay = 10
ToolTip1.AutoPopDelay = 5000
ToolTip1.ShowAlways = True

then ,when I move mouse over Label1, "nothing" is showed, then repeat
the action above, it does well.
But when the time which mouse over Label1 is more than 5000, the
ToolTip is disappear, and whatever you do, the "nothing" will never be
showed again.

Can anyone tell me the reason.
Thanks :-)
Hi,
Could you put the code in label1's MouseHover event? Hence, your
tooltip will re-appear after delay time passes, when ever mouse
pointer hovers on the label as follows:

Private Sub Label1_mouseHover(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Label1.MouseHover
ToolTip1.AutomaticDelay = 10
ToolTip1.AutoPopDelay = 5000
ToolTip1.ShowAlways = True
ToolTip1.SetToolTip(Me.Label1, "nothing")
End Sub
Thanks,

Onur Güzel
Jun 27 '08 #2

P: n/a
On Jun 10, 4:05 pm, kimiraikkonen <kimiraikkone...@gmail.comwrote:
On Jun 10, 9:37 am, "fts2...@gmail.com" <fts2...@gmail.comwrote:
Hi all,
I set the ToolTips when the solution is running.
as follows:
ToolTip1.SetToolTip(Me.Label1, "nothing")
ToolTip1.AutomaticDelay = 10
ToolTip1.AutoPopDelay = 5000
ToolTip1.ShowAlways = True
then ,when I move mouse over Label1, "nothing" is showed, then repeat
the action above, it does well.
But when the time which mouse over Label1 is more than 5000, the
ToolTip is disappear, and whatever you do, the "nothing" will never be
showed again.
Can anyone tell me the reason.
Thanks :-)

Hi,
Could you put the code in label1's MouseHoverevent? Hence, your
tooltip will re-appear after delay time passes, when ever mouse
pointer hovers on the label as follows:

Private Sub Label1_mouseHover(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Label1.MouseHover
ToolTip1.AutomaticDelay= 10
ToolTip1.AutoPopDelay = 5000
ToolTip1.ShowAlways = True
ToolTip1.SetToolTip(Me.Label1, "nothing")
End Sub

Thanks,

Onur G¨ązel
Thank you for your reply!
Use the method you mentioned above, it does workŁˇ(thanks again :-)
And to complete this function I have to add another sub to handle the
MouseLeave action.
In my opinion, the ToolTip control should be a dependently , fully
module which provide we with the popup usage.
But now I have to write another two sub to fulfil the function, this
confused me.
Why is the ToolTip so unstable ?
Jun 27 '08 #3

P: n/a
On Jun 10, 11:37 am, "fts2...@gmail.com" <fts2...@gmail.comwrote:
On Jun 10, 4:05 pm, kimiraikkonen <kimiraikkone...@gmail.comwrote:
On Jun 10, 9:37 am, "fts2...@gmail.com" <fts2...@gmail.comwrote:
Hi all,
I set the ToolTips when the solution is running.
as follows:
ToolTip1.SetToolTip(Me.Label1, "nothing")
ToolTip1.AutomaticDelay = 10
ToolTip1.AutoPopDelay = 5000
ToolTip1.ShowAlways = True
then ,when I move mouse over Label1, "nothing" is showed, then repeat
the action above, it does well.
But when the time which mouse over Label1 is more than 5000, the
ToolTip is disappear, and whatever you do, the "nothing" will never be
showed again.
Can anyone tell me the reason.
Thanks :-)
Hi,
Could you put the code in label1's MouseHoverevent? Hence, your
tooltip will re-appear after delay time passes, when ever mouse
pointer hovers on the label as follows:
Private Sub Label1_mouseHover(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Label1.MouseHover
ToolTip1.AutomaticDelay= 10
ToolTip1.AutoPopDelay = 5000
ToolTip1.ShowAlways = True
ToolTip1.SetToolTip(Me.Label1, "nothing")
End Sub
Thanks,
Onur G¨ązel

Thank you for your reply!
Use the method you mentioned above, it does workŁˇ(thanks again :-)
And to complete this function I have to add another sub to handle the
MouseLeave action.
In my opinion, the ToolTip control should be a dependently , fully
module which provide we with the popup usage.
But now I have to write another two sub to fulfil the function, this
confused me.
Why is the ToolTip so unstable ?
I really don't know, the solution i posted was for doing a *kind" of
solution, no matter if it does what you want.

See here for your question:
http://forums.msdn.microsoft.com/en-...-2311e8c3779c/

It's said that it's by design, however i agree that it's annoying and
undesired behaviour.

Thanks,

Onur G¨ązel

Jun 27 '08 #4

P: n/a
On Jun 10, 4:46 pm, kimiraikkonen <kimiraikkone...@gmail.comwrote:
On Jun 10, 11:37 am, "fts2...@gmail.com" <fts2...@gmail.comwrote:
On Jun 10, 4:05 pm, kimiraikkonen <kimiraikkone...@gmail.comwrote:
On Jun 10, 9:37 am, "fts2...@gmail.com" <fts2...@gmail.comwrote:
Hi all,
I set the ToolTips when the solution is running.
as follows:
ToolTip1.SetToolTip(Me.Label1, "nothing")
ToolTip1.AutomaticDelay = 10
ToolTip1.AutoPopDelay = 5000
ToolTip1.ShowAlways = True
then ,when I move mouse over Label1, "nothing" is showed, then repeat
the action above, it does well.
But when the time which mouse over Label1 is more than 5000, the
ToolTip is disappear, and whatever you do, the "nothing" will never be
showed again.
Can anyone tell me the reason.
Thanks :-)
Hi,
Could you put the code in label1's MouseHoverevent? Hence, your
tooltip will re-appear after delay time passes, when ever mouse
pointer hovers on the label as follows:
Private Sub Label1_mouseHover(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Label1.MouseHover
ToolTip1.AutomaticDelay= 10
ToolTip1.AutoPopDelay = 5000
ToolTip1.ShowAlways = True
ToolTip1.SetToolTip(Me.Label1, "nothing")
End Sub
Thanks,
Onur G¨ązel
Thank you for your reply!
Use the method you mentioned above, it does workŁˇ(thanks again :-)
And to complete this function I have to add another sub to handle the
MouseLeave action.
In my opinion, the ToolTip control should be a dependently , fully
module which provide we with the popup usage.
But now I have to write another two sub to fulfil the function, this
confused me.
Why is the ToolTip so unstable ?

I really don't know, the solutioniposted was fordoing a*kind"of
solution, no matterif itdoeswhat you want.

See here for your question:http://forums.msdn.microsoft.com/en-...14abffde-681d-...

It's said that it's by design, however i agreethat it's annoyingand
undesired behaviour.

Thanks,

Onur G¨ązel
Thank you very much!
Jun 27 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.