Click here to Skip to main content
14,883,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can anyone help me to display the tool tip for a text box as a annotation in C# windows Form application.

Thanks in advance.
Posted

1 solution

C#
ToolTip tip = new ToolTip();
tip.ToolTipIcon = ToolTipIcon.Info;
tip.IsBalloon = true;
tip.ShowAlways = true;
tip.AutoPopDelay = 5000;
tip.InitialDelay = 1000;
tip.ReshowDelay = 500;
tip.SetToolTip(textBox1, "Hello");
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900