form as a hint in delphi

Instead of the classic/default hint I want to display complicated hint. Is there anyway to display a small form (without borders) as hint?
dinko1Asked:
Who is Participating?
 
TheRealLokiConnect With a Mentor Senior DeveloperCommented:
here's a demo I made for you showing how to put anything you want in a hint
For the demo I have used a TPanel with some controls on it, but you could just as easily use a TForm with BorderStyle bsNone
Enjoy
Loki

https://filedb.experts-exchange.com/incoming/ee-stuff/8064-Hint-complicated.zip
0
 
Ephraim WangoyaCommented:

Get the Balloon control from
http://www.torry.net/authorsmore.php?id=3415

This is based off a TForm

You can then customize it as you wish
0
 
ThommyCommented:
Check these mostly free hint components if any meets your requirements...

Torry / Components > Misc. Effects > Hints
http://www.torry.net/pages.php?s=84
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

 
ThommyCommented:
Perhaps this might also be interesting for you...

How to Display Menu Item Hints
http://delphi.about.com/od/vclusing/a/menuitemhints.htm
0
 
dinko1Author Commented:
@TheRealLoki that is great but Ihave one question. is it possible not to display this yellow-default hint border? its too "xp" and doesnt look good on windows 7 :\
0
 
TheRealLokiSenior DeveloperCommented:
Hi,
it's just the colour I chose for the panel
You can set it to any colour you like
e.g.
pnlThatGoesInHint.Color := clBtnFace
(use the object inspector (F11) to set it at design time of course)
The panel already has BorderStyle set to bsNone and BevelInner/Outer set to bvNone

Also, just make the panel the right size for your needs, so that there is no border.
The easiest way to do this to to set
pnlThatGoesInHint.AutoSize := True
Regards, Loki
0
 
dinko1Author Commented:
great work! thanks :)
0
 
TheRealLokiSenior DeveloperCommented:
also, (the obvious one)
change this line of code
HintW.Color := clInfoBk;
to the colour you want
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.