add a ToolTip from the toolbox and the property in button1's properties should appear as "ToolTip on ToolTip1 ".
Hello _Doug Bell,
Thanks for your post.
secondcode has given you helpful suggestion. Please have a try. If you have any comments, please feel free to follow up.
Here I provide you more infromation about programmatically creating a ToolTip for a Windows Forms control. Hope it helps.
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim ToolTip1 As New System.Windows.Forms.ToolTip()
MSDN Subscriber Support in Forum
If you have any feedback on our support, please contact email@example.com
Please mark the replies as answers if they help and unmark them if they provide no help. Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. Thanks
I did not understand your question and after proposing the answers and thinking it were the correct answers, I wanted to tell that you could also use the designer.
The suddenly the quarter felt probably in the right way (I don't know it this is an International phrase)
The command buttons close and maximize/minimize have their default tooltips.
(Accoording to your language settings)
The ToolTip component in the toolbox is what is called an extender control. The reason there isn't just a tooltip caption you can set on each control is because in .NET tooltips have a lot of properties that can be set.
For example, when you add a tooltip to the form, there are properties to set how long the tooltip will display, the color of it, the look, and various other formatting options.
Now imagine for every single control that should have some tooltip text, you had to set all those values, that would be very cumbersome, especially considering usually all controls that use a tooltip on a form will look similar.
So by using this extender control method, it allows you to set all these properties in 1 common place, and then allows you to just set the text for each control that should display a tooltip, and the tooltip will use the settings you specified once.
Matt Kleinwaks - MSMVP MSDN Forums Moderator - www.zerosandtheone.com