Click here to Skip to main content
11,803,019 members (56,756 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: image

Now after serveral hours of researching, asking on different forums and other i decided to ask here.

How to simply add a Picture to a tooltip when as for eksample mouse over a button it will show a picture of e.g. a Computer. I tried serveral methods but i just can't seem to get it work right.

If there is anyone out there who can give me a simple code and a explanation to why and how it works. If its a more advanced thing, feel free to post it anyway and try, if you can explain me how it works Smile | :)

Thank you very much!
Posted 20-Sep-12 9:57am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

There is no simple way to do this because default tooltips are text only. You'd have to create a custom control to handle this.
This CP article may be a good starting point for you: A ToolTip with Title, Multiline Contents, and Image[^]
Sergey Alexandrovich Kryukov at 20-Sep-12 22:25pm
Nice. This is like nearly all work is already done for OP. My 5.

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

  Print Answers RSS
0 OriginalGriff 335
1 KrunalRohit 291
2 F-ES Sitecore 270
3 CPallini 270
4 Sergey Alexandrovich Kryukov 234
0 OriginalGriff 2,950
1 Maciej Los 1,910
2 KrunalRohit 1,862
3 CPallini 1,735
4 Richard MacCutchan 1,157

Advertise | Privacy | Mobile
Web02 | 2.8.151002.1 | Last Updated 21 Sep 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100