ToolTip is not working on a form!!!

O

ODB

Okay i have a small app. and i have added the tooltips to two forms one is
showen as a showdialog, and the other is just show, but when i start the
show form the tooltips on the controls is not working, what is wrong wit my
settings !!!

I have set the tooltip.showalways = true, but i still don't get any tooltip
!!!

can you help ?

ODB
 
M

Morten Wennevik

To get a tooltip showing you need to specify several times, as well as
setting it active.
Try

Active = true // turns on the tooltip
AutomaticDelay = 0; // some auto value that will fill others with default
values
AutoPopDelay = 30000 // how long it will stay before vanishing
InitialDelay = 50 // how long you need to keep your mouse cursor still
before it reacts
ReshowDelay = 50 // time before next tooltip will show
ShowAlways = true // tooltip will remain even if window focus is lost
 
D

Dmitriy Lapshin [C# / .NET MVP]

Hi,

Safety first: Tooltips are shown when the mouse pointer is hovering over the
corresponding controls. Don't expect them to be shown like labels - they
just won't work in that way (I've just thought you might be expecting the
behavior described when ShowAlways is set to True).

Then, tooltips seems to not be shown for disabled controls.

If the precautions above are not your case, you could probably explain in
more detail what is happening? A code snippet would also be useful.
 
O

ODB

Hi,

Safety first: Tooltips are shown when the mouse pointer is hovering
over the corresponding controls. Don't expect them to be shown like
labels - they just won't work in that way (I've just thought you might
be expecting the behavior described when ShowAlways is set to True).

Thanks i know :)

Thanks for the replay, her is a code snip from the windws section in the
form class.

//
// toolTip1
//
this.toolTip1.Active = true; // i have added this just to be sure.
this.toolTip1.AutomaticDelay = 0;
this.toolTip1.AutoPopDelay = 50000;
this.toolTip1.InitialDelay = 50;
this.toolTip1.ReshowDelay = 50;
this.toolTip1.ShowAlways = true;

and some of the controls.

this.toolTip1.SetToolTip(this.listBox1, "Double click to edit a
participant");

this.toolTip1.SetToolTip(this.btnAdd, "Add new participant");

Okay i just don't get it !!!

ODB
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top