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
Solved

form as a hint in delphi

Posted on 2011-02-25
8
1,117 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
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 32

Expert Comment

by:ewangoya
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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
code issue 8 154
Delphi - replicating a form 8 81
Firemonkey allowing RTL on android 6 46
Delphi Seattle StructureView color 1 14
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

856 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