473,598 Members | 3,409 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Tooltip only shows once

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
5 9804
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.co m

"pete1969" <pe******@discu ssions.microsof t.comwrote in message
news:58******** *************** ***********@mic rosoft.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
On Jun 12, 10:31 pm, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guar d.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.c om

"pete1969" <pete1...@discu ssions.microsof t.comwrote in message

news:58******** *************** ***********@mic rosoft.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
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.guar d.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.c om

"pete1969" <pete1...@discu ssions.microsof t.comwrote in message

news:58******** *************** ***********@mic rosoft.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
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.co m

"pete1969" <pe******@discu ssions.microsof t.comwrote in message
news:18******** *************** ***********@mic rosoft.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.gua rd.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.c om

"pete1969" <pete1...@discu ssions.microsof t.comwrote in message

news:58******** *************** ***********@mic rosoft.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
Here is the code:

using System;
using System.Collecti ons.Generic;
using System.Componen tModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows. Forms;

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

ToolTip tooltip = new ToolTip();
tooltip.Automat icDelay = 500;
tooltip.SetTool Tip(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.co m

"pete1969" <pe******@discu ssions.microsof t.comwrote in message
news:18******** *************** ***********@mic rosoft.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.guar d.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.c om

"pete1969" <pete1...@discu ssions.microsof t.comwrote in message

news:58******** *************** ***********@mic rosoft.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1514
by: Glenn | last post by:
I am showing a tooltip on a flexgrid control. The tooltip shows but stays visible the entire time the mouse is on the cell. How do I get the tooltip to disappear after some time. Further, if I set any of the display properties, the tooltip does not show, e.g ttip.AutoPopDelay = 1500 If I rem out the line the tooltip shows.
5
11804
by: Pavan | last post by:
My goal is to accomplish the tooltip functionality for all the neodes in a tree view and i have the following three Events in my C# application. Name of my TreeView Control (AITreeView) 1) AITreeView_MouseDown(object sender, MouseEventArgs e) 2) AITreeView_MouseUp(AITreeView_MouseDown(object sender, MouseEventArgs e) 3) AITreeView_Click(AITreeView_MouseDown(object sender, MouseEventArgs e)
2
9439
by: puja | last post by:
hi all, i have a grid view where am displaying data from dataset. My dataset consists of columns Customer name, surname, date requested, sales person, file number , status and comments I am displaying all columns in grid view except comments. Now I want to have comments displayed (for each row) as tooltip when u hover over particular row.
4
7805
by: rn5a | last post by:
A DataList displays 3 columns - Product, Category & Price. These columns are populated with records from a SQL Server 2005 DB table. Apart from the above 3 DB columns that the resultset retrieves, there is another DB column named 'Description'. Though the resultset fetches this column as well along with the above 3 columns, I am excluding the Description column from the DataList - the reason being most of the descriptions are pretty long &...
2
1416
by: dgk | last post by:
My co-worker, no idiot, says that the tooltip in the system tray for the SS2000 icon usually shows the computer and server, but once in a while shows the password (two slashes and the password). Is this a known bug of some sort? It really shouldn't be showing his password. It's likely the developer edition, but still, that isn't good.
3
4664
by: Rainer Queck | last post by:
Hi NG, working on a project in VS2005 I started to add ToolTips. My problem now is, that each ToolTip only shows once. mouving the mouse over a button shows its tooltip, moving to the next button show the coresponding tooltib. If I now move back to the first button the tooltip does not popup again. Is there "some setting" responsible for that? What must I do, that the tooltip is shown every time the mouse moves over the control?
16
2763
by: Charles Law | last post by:
I have to take this personally now. Tooltips have been flakey since the dawn of .NET, but to still have to put up with a disappearing tooltip in VS 2008 is getting beyond a joke. Tooltips have always done this, so isn't it about time they were fixed? I have a tooltip that I assign to a button control on my form. I hover over the button and up pops the tooltip. I move away and the tooltp fades. I hover again, and back comes the tooltip....
0
7991
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7902
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8398
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8265
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
5850
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5438
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3898
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2412
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1250
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.