phreaky Posted December 8, 2002 Posted December 8, 2002 Where do you set tools tips for the objects now in .NET?, it's not anymore on object's properties. Quote tHe pHrEaKy
*Experts* Volte Posted December 8, 2002 *Experts* Posted December 8, 2002 There is a ToolTip component you access thru code. Dim a As New ToolTip() a.SetToolTip(Button1, "This is a tooltip") Quote
Leaders John Posted December 8, 2002 Leaders Posted December 8, 2002 There is also the ToolTip control in your tool box, if you would rather do it that way :D Orbity Quote "These Patriot playoff wins are like Ray Charles songs, Nantucket sunsets, and hot fudge sundaes. Each one is better than the last." - Dan Shaughnessy
phreaky Posted December 8, 2002 Author Posted December 8, 2002 But how does this tooltip tool works?, I tried to use it, but I tried to put it over a check button, but I can't edit what the tool tip has to say. Quote tHe pHrEaKy
*Experts* Volte Posted December 8, 2002 *Experts* Posted December 8, 2002 Look at my example; it adds the text "This is a tooltip" to the tooltip of Button1. Quote
phreaky Posted December 8, 2002 Author Posted December 8, 2002 I already read the help and did it, but many thanks anyway for your help. Quote tHe pHrEaKy
*Gurus* divil Posted December 8, 2002 *Gurus* Posted December 8, 2002 Add a tooltop component to your form, from your toolbox. Every control on the form will then gain a Tooltip property. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
*Experts* Volte Posted December 8, 2002 *Experts* Posted December 8, 2002 Wow. I didn't know that was even possible. :) Thanks div. ;) Quote
*Gurus* divil Posted December 9, 2002 *Gurus* Posted December 9, 2002 If I remember correctly, this is all done via the IExtenderProvider interface. If you make something which implements this, you can put extra properties on objects in the same container. It's how the designers add (Name) fields etc to components on the design surface. http://ms-help://MS.VSCC/MS.MSDNQTR.2002APR.1033/cpref/html/frlrfSystemComponentModelIExtenderProviderClassTopic.htm [edit]Damn I'm good[/edit] Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.