views:

263

answers:

2

I have a System.Windows.Forms.Button control, and I want to add a hover-text explanation of what the button will do. I were writing a webapp, the answer to my question would be approximately this easy:

<input type="button" title="This is the answer" />

I'm using Visual Studio 2008 Express. I've checked all the properties I could find for this Button, but I don't see anything that does what I want. Google searches turned up 50% confusing, elaborate answers, and the other half were tauntingly easy HTML examples.

+1  A: 

You can use a Tooltip Control to achieve the desired effect.

Just initialize the tooltip values you want on the controls you want.

...
toolTip1.SetToolTip(button1, "This is the answer");
...
Quintin Robinson