Link to home
Start Free TrialLog in
Avatar of Greenandroid
Greenandroid

asked on

Hint Boxes

Greetings Experts,

I was wondering how easy it was to create personalised hint boxes, which contain images. This is something i have been thinking about, since installing Trillian (instant messenger). In Trillian, if you hover over any of your contacts, the hint box displays several piece of information, nicely formatted, aswell as a small image of the persons display picture.

I have taken a screenshot so you can see an example of what i mean, without having to install trillian first. You can see this here....    http://www.habbar.co.uk/EE/hints.PNG

It would be great if anyone knew of a component which made this extremely easy to do.

Regards
- Jay
Avatar of ZhaawZ
ZhaawZ
Flag of Latvia image

You can create a simple form and use it as a hint.
ASKER CERTIFIED SOLUTION
Avatar of ZhaawZ
ZhaawZ
Flag of Latvia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Forgot to say - if you want to change background color of hint, just assign desired color to Application.HintColor in TForm().onCreate event
Avatar of Greenandroid
Greenandroid

ASKER

Your example compiles fine for me, but your customised hints do not show (instead i get the normal style hints).
I am also dubious whether your code would be the most efficient method for producing the hint boxes (as shown in the link i gave above). Perhaps you could send me a working example, my details you can find in my profile.
Avatar of CodedK
As ZhaawZ mentioned why dont u create a form ?
Check your e-mail.
i think you forgot to attach the file. could you resend please
You wrote that you're dubious whether my code would be the most efficient method. I used Delphi help to customize hint window, so I think this way should be good enough.

As I already said - you may create some form that would be used like hint window where you show information, but it will not be real delphi hint window then. However, it can be much easier to create and use such window for somebody.

Btw, if you want the most efficient solutions, stop using Delphi Forms, SysUtils and other huge units with lots of unnecessary crap ;)
Check it again. Now it should be with attachment.
Absolutely perfect!

Many thanks
Does it work now? If yes, what was the problem before (why didn't it work for you)?
Yes it works fine now. I think the problem was i misread how to notify when a customised hint was needed, and hence i did not include '+' in the hint text.