WinForms ToolTip will not re-appear after first use.
Posted
by Roberto Sebestyen
on Stack Overflow
See other posts from Stack Overflow
or by Roberto Sebestyen
Published on 2009-02-18T03:16:20Z
Indexed on
2010/04/09
22:53 UTC
Read the original article
Hit count: 236
I have a Forms C# application where I would like to use a toolTip on one of the text boxes. I Initialize the tool-tip in the constructor of the Form class, and it works the first time. So when I hover over the text box with my mouse it works, but once the toolTip times out and it goes away, it does not re-appear when I move my mouse away and back onto the control. I would expect it to come back and I'm wondering what I'm doing wrong.
Here is how I initialize the tooltip:
myTip = new ToolTip();
myTip.ToolTipIcon = ToolTipIcon.Info;
myTip.IsBalloon = true;
myTip.ShowAlways = true;
myTip.SetToolTip(txtMyTextBox,"My Tooltip Text");
© Stack Overflow or respective owner