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

Tooltip only shows once

P: n/a
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?
Jun 12 '07 #1
Share this Question
Share on Google+
5 Replies


P: n/a
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]
- mv*@spam.guard.caspershouse.com

"pete1969" <pe******@discussions.microsoft.comwrote in message
news:58**********************************@microsof t.com...
>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?

Jun 12 '07 #2

P: n/a
On Jun 12, 10:31 pm, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.comwrote:
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]
- m...@spam.guard.caspershouse.com

"pete1969" <pete1...@discussions.microsoft.comwrote in message

news:58**********************************@microsof t.com...
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

Jun 12 '07 #3

P: n/a
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[MCSD.Net]" wrote:
On Jun 12, 10:31 pm, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.comwrote:
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]
- m...@spam.guard.caspershouse.com

"pete1969" <pete1...@discussions.microsoft.comwrote in message

news:58**********************************@microsof t.com...
>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

Jun 12 '07 #4

P: n/a
What properties are you setting to achieve this five second delay when
showing the tool tip?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"pete1969" <pe******@discussions.microsoft.comwrote in message
news:18**********************************@microsof t.com...
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[MCSD.Net]" wrote:
>On Jun 12, 10:31 pm, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.comwrote:
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]
- m...@spam.guard.caspershouse.com

"pete1969" <pete1...@discussions.microsoft.comwrote in message

news:58**********************************@microsof t.com...

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


Jun 12 '07 #5

P: n/a
Here is the code:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Test
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();

ToolTip tooltip = new ToolTip();
tooltip.AutomaticDelay = 500;
tooltip.SetToolTip(button1, "Hallo");
}
}
}

Where button1 obviously is a Button. And it doesn't make a difference if I
set the three properties AutoPopDelay, InitialDelay, ReshowDelay seperately.

"Nicholas Paldino [.NET/C# MVP]" wrote:
What properties are you setting to achieve this five second delay when
showing the tool tip?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"pete1969" <pe******@discussions.microsoft.comwrote in message
news:18**********************************@microsof t.com...
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[MCSD.Net]" wrote:
On Jun 12, 10:31 pm, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.comwrote:
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]
- m...@spam.guard.caspershouse.com

"pete1969" <pete1...@discussions.microsoft.comwrote in message

news:58**********************************@microsof t.com...

>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



Jun 13 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.