Click here to Skip to main content
15,897,371 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a task, in which i have to display a ToolTip with a button/image and text, if the user clicks on the tooltip's button/image it should expand and show addition description with links. clicking on the link should open the URL in new window.

so how can i do it? Whats the best way?
Thanks in advance
Posted

It sounds like you are talking of collapsible panels that has content in it. Content has hyperlinks in it, on click of which will open up in a new browser window.

Further, it sounds to me you are talking of web application even though you have not tagged so.
If ASP.NET, see following:
CollapsiblePanel Demonstration[^]
ASP.NET Collapsible Draggable Panel Server Control[^]
An ASP.NET 2.0 Accordion Server Control[^]
Reusable Collapsible Panel for Web[^]
JavaScript Expandable / Collapsible Panel Control[^]

If windows, it would be similar logic where you have a panel defined that will be visible or hidden based on the selection.
 
Share this answer
 
drag 'tooltip' control on your form

now on button's "mouse_enter" event
VB
ToolTip1.ToolTipIcon = ToolTipIcon.Info
ToolTip1.BackColor = Color.Khaki
ToolTip1.ForeColor = Color.DarkKhaki
ToolTip1.SetToolTip(button1, "Click me to save data.")


Happy Coding!
:)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900