Removing a tooltip from a control

How can one remove a toolrip from a control? There are occasions when, having done a SetToolTip, I now don't want the tip to appear. There doesn't seems to be a RemoveToolTip(Control) functionality.
[201 byte] By [PeterToye] at [2007-12-16]
# 1
Hi,

You can remove the Tooltip using the same method and set the text value to null or empty string. Code snippet showing both options below:


toolTip1.SetToolTip(textBox1, "");

toolTip1.SetToolTip(textBox1, null);




Regards,
Vikram

Vikram at 2007-9-9 > top of Msdn Tech,Windows Forms,Windows Forms General...
# 2

Thanks Vikram - worked a treat. I was worried that it would show an empty box, in the over-literal way that computers tend to work. Now, let's hope that this gets into the documentation.

PeterToye at 2007-9-9 > top of Msdn Tech,Windows Forms,Windows Forms General...