Sorry, I might not have described it clearly. Another attempt:
The tooltip is set to be displayed over the button after hovering for a
second. Then if keep on hovering the tooltip should away after 5 seconds.
So
far everything works as intended.
If I let the tooltip be displayed over the button and move the mouse away
before those 5 seconds maximum time has passed, the tooltip goes away and
if
I move the mouse over the button again, the tooltip is displayed again.
Still
everything is good so far.
But if I move the mouse ofther that button, let the tooltip be displayed
and
wait the rest of those 5 seconds and the tooltip disappears because of
that
maximum time has passed and the tooltip disappears, I can move the mouse
away
and back over that button, but the tooltip does not reappear again.
And even if I have a second button with another tooltip, I can hover over
that other button and let that tooltip show, over that first button, the
tooltip is never be displayd again.
I hope I have not confused anyone even more this time.
Aneesh Pulukkul said:
On Jun 12, 10:31 pm, "Nicholas Paldino [.NET/C# MVP]"
What do you mean by the maximum time it should be displayed?
AFAIK, if
you have the cursor on a control, and a tooltip is displayed, then
assuming
that the focus is not changed by some other event (like a timer in a
program
for some reason) and you don't provide any input (through mouse or
keyboard), then the tool tip will remain indefinitely.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
I use Visual Studio 2005 and created a very simple Form with one
button. I
added a Tooltip for that button. It shows fine the first time I hover
over
that button. But if I let it disappear by the maximum time it should
be
displayed, it never shows again over that button. Is that intended?
And
what
can I do to make it show again?- Hide quoted text -
- Show quoted text -
try setting ShowAlways property true. This is make persisting tooltip
while the form is inactive. Didn't get your problem clearly