Solved

How to show help in hints?

Posted on 1998-05-14
2
160 Views
Last Modified: 2012-05-04
I don't know how to show hint with short help after clicking on element, when cursor is crHelp type.
0
Comment
Question by:ramones
[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
2 Comments
 
LVL 1

Expert Comment

by:michaue
ID: 1345579
Do you want to show the little yellow hint window, which acts like the normal hint window of buttons etc?
0
 
LVL 4

Accepted Solution

by:
BoRiS earned 50 total points
ID: 1345580
ramones

The best way to do it is if you have a help file pass it to the mainform helpfile

Application.HelpFile := ExtractFilePath(Application.ExeName) + 'yourhelp.hlp');

then on the button or control you can pass the context of the help file which you should have...

Button1.HelpContext := 255; //for instance, this number will relate to the context pas for the help file

then under your Form there is a Option BorderIcons set biHelp to true and border style bsSingle or bsDialog then the form will have the help button on the caption ...

This can pose a problem if you what an standard sizeable form so the other way maybe is to pass it on the control if the cursor := crHelp then your code to popup the help context....

if you need more help on the cursor story just let me know...

Later
BoRiS
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

738 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