Solved

form as a hint in delphi

Posted on 2011-02-25
8
1,133 Views
Last Modified: 2013-05-07
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
Comment
Question by:dinko1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 32

Expert Comment

by:Ephraim Wangoya
ID: 34983724

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
 
LVL 19

Expert Comment

by:Thommy
ID: 34986919
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
 
LVL 19

Expert Comment

by:Thommy
ID: 34986924
Perhaps this might also be interesting for you...

How to Display Menu Item Hints
http://delphi.about.com/od/vclusing/a/menuitemhints.htm
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 17

Accepted Solution

by:
TheRealLoki earned 500 total points
ID: 35012733
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
 

Author Comment

by:dinko1
ID: 35047947
@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
 
LVL 17

Expert Comment

by:TheRealLoki
ID: 35048129
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
 

Author Closing Comment

by:dinko1
ID: 35048164
great work! thanks :)
0
 
LVL 17

Expert Comment

by:TheRealLoki
ID: 35048185
also, (the obvious one)
change this line of code
HintW.Color := clInfoBk;
to the colour you want
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses
Course of the Month3 days, 19 hours left to enroll

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question