Solved

Help calling Help Files in Delphi 2.

Posted on 1997-07-24
2
159 Views
Last Modified: 2010-04-04
I have successfully created a help file but how do I call it from within Delphi 2? I added it to "Project/Options/Application/Help File" but I'm not sure what to do next. I tried using the WinHelp function but didn't get very far. I don't want to do anything complex,
just call the help file from within an application I'm writing and display it. I need all the code, i.e. if there needs to be something added to the uses clause, what command to use and the parameters to supply. Thanks in advance.

Scotslad.
0
Comment
Question by:scotslad
[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 4

Accepted Solution

by:
erajoj earned 50 total points
ID: 1339708
Just do something like this:

Application.HelpCommand(HELP_CONTENTS, 0);
(Search the help for "WINHELP" for more info.)
  or
Application.HelpContext(ContextNo);
  or
Application.HelpJump('TApplication'); // or something...

/// John

0
 

Author Comment

by:scotslad
ID: 1339709
I managed to find out about HelpJump but since you confirmed
it I'll give max points.
Cheers,

Scotslad.

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
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…
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…

759 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