Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1185
  • Last Modified:

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?
0
dinko1
Asked:
dinko1
  • 3
  • 2
  • 2
  • +1
1 Solution
 
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
 
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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
TheRealLokiSenior 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
 
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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now