Solved

How to show help in hints?

Posted on 1998-05-14
2
156 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
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
indy Tmemory stream non latin charcter issue 2 110
Strange behavior when a form is closed 6 57
Multiple image collision 13 75
firemonkey keyboard covers the controls 1 25
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…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
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…

773 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