Adding tooltip to groupbox

After reading the descriptions of every property, I just can't find anything to define a tooltip in the groupbox class, or textbox or listview. Can I ask for a link to put me on the right track?

Answers


To define tooltips, you first need to drag a ToolTip component on the from from the toolbox. Then every control will have addition tooltip text properties. You can also do that manually:

ToolTip toolTip1 = new ToolTip();
toolTip1.SetToolTip(this.groupBox1, "My groupBox1 tooltip!");
toolTip1.SetToolTip(this.checkBox1, "My checkBox1 tooltip!");

See the msdn article here.


Need Your Help

Jquery plugin FormatCurrency not working correctly

jquery asp.net-mvc-3

So I am using the Jquery plugin called FormatCurrency to (this should be obvious) format some numbers in Currency format. The jQuery function is working great for the first row of numbers but the s...

Adding persistence units during run-time

database datanucleus

Say you have an application where at some point a user can pull data in to memory from some data store, but you would like to allow users to add the data sources during run time. Could you provide ...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.