0

I have help file "help.hap" I add him to app by typing his name in app properti under HelpFile. Then I add

procedure TForm1.Pomoc1Click(Sender: TObject);
begin
Application.HelpContext(0);
end;

But I get error

no context-sensitive help installed

WTF I just add it right?

LU RD
  • 34,438
  • 5
  • 88
  • 296
Błażej
  • 3,617
  • 7
  • 35
  • 62
  • What kind of help file is that? As well as setting the HelpFile property of Application, you need to make sure you have an appropriate help viewer for that type of help file. Do you? – David Heffernan Jan 20 '12 at 22:32
  • @DavidHeffernan Hello again :) No, I don't. Damn it. could you suggest some think? – Błażej Jan 20 '12 at 22:35
  • BTW. I'm using Delphi XE2. - maybe with that program I can make help file? – Błażej Jan 20 '12 at 22:42
  • What type of help file is it? – David Heffernan Jan 20 '12 at 22:47
  • If you don't tell us what format the help file is, how are we supposed to suggest a help viewer? And no, Delphi doesn't come with a help authoring tool; there are free, shareware, and commercial ones available. Also, see [this question](http://stackoverflow.com/questions/658193/setting-up-help-for-a-delphi-app), which I found looking at the "Related" list to the right of your question (it's the third related link). Look at the answers there; there's a long one that contains links to lots of articles on writing and using help in Delphi applications. – Ken White Jan 20 '12 at 22:47
  • The question explains why Heffernan has such a wild look on his avatar. – kludg Jan 20 '12 at 22:52
  • 1
    See here at Torry's : [Help Author Pro](http://www.torry.net/authorsmore.php?id=3079). Seems that MaxComponents is out of business. If you still have that tool, export the help file to a format that suits XE2. – LU RD Jan 20 '12 at 23:12
  • If so, follow Rob's suggestion and you should be fine. – LU RD Jan 20 '12 at 23:33

1 Answers1

11

Help.hap is the name of your Help Author Pro project file. It is no more a help file than your .dpr Delphi project file is an executable program.

You can use your help-authoring tool to generate documentation in several different formats, including HTML and RTF. Generate an actual help file, such as help.hlp or help.chm.

Rob Kennedy
  • 161,384
  • 21
  • 275
  • 467