C# - Remove ToolTip only supplying in which Control is the ToolTip -
Yes this question has already been asked on SO.
The problem is that the solution to that question was hiding the tooltip, and I do not really need to hide it.
I am adding tooltips to my control in many forms, whatever I have done.
There are two functions, to set the tooltip to display on the mouse toolbar and to show the tooltip the second time.
Only one is unavailable to remove any tooltip that is determined or displayed by a specific control.
Something like this
tooltip.remove (Textbox1);
Something is so simple where I need to set control where there is a tooltip.
I tried to do some things but did not work.
Thanks
Edit:
I use my code to add tooltips.
It was coded incorrectly
Setting and displaying tooltips is my code:
< Pre> public class UserInterface {Public Zero SetTooltip (Control Object, String Message, String Title, Tooltip Icon, Boolean Isoblon, Boolean ShowAlways) {Tooltip Tip = New Tooltip (); Tip Use animation = true; Tip Yousefide = true; Tip TullTipIcon = Icons; Tip Isublin = ballon; Tip Show = Always show; Tip TullTipTitle = Title; Tip Settip (object, message); } Public Zero ShowTooltip (Control Object, String Message, String Title, Tooltip Icon Icon, Boolean Isoblon, Boolean ShowAlv) {Tooltip Tip = New Tooltip (); Tip Use animation = true; Tip Yousefide = true; Tip TullTipIcon = Icons; Tip Isublin = ballon; Tip Show = Always show; Tip TullTipTitle = Title; Tip Show (message, object); }}
should do this:
Tooltip SetToolTip (text box 1, blank);
Comments
Post a Comment