Solved

How to show help in hints?

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

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.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

729 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