Solved

How to show help in hints?

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

743 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now