Can I add customized tooltip (image/balloon) to my image button in VB.net ?
Regards.
Can I add customized tooltip (image/balloon) to my image button in VB.net ?
Regards.
You mean a regular button with image and no text?
Code:Dim tt As New ToolTip() tt.SetToolTip(button1, "click me")
Some useful links: Learning videoes, Code Samples, WMI Code Creator, MSDN, The Code Project, WindowsClient.net, ASP.net, W3 Schools, Regular-Expressions.info, GDI+ FAQ
How to format posts with code blocks etc - present the problem/post properly
I have the image button. And I want to give the tooltip as another image.
I'm still not sure what kind of button you are talking about, and I haven't got a clue what "give the tooltip as another image" means.
Some useful links: Learning videoes, Code Samples, WMI Code Creator, MSDN, The Code Project, WindowsClient.net, ASP.net, W3 Schools, Regular-Expressions.info, GDI+ FAQ
How to format posts with code blocks etc - present the problem/post properly
The ToolTip class has some new functionality in 2005. Add one to a form and check out the properties listed in the Properties window. It can be diplayed as a balloon instead of the default rectangle. It can also display a title and one of the standard icons like a MessageBox.
Note that if you want more than that you'll have to inherit the class and handle drawing it yourself I would think.
Thanks for the solution.
Bookmarks