«« Site Rescued »»

While the site is still going to move from its current host, a new site will now take its place. More Info.

The new site may have less content, but the core will now remain. And it will now play nicely with phones! Keep an eye on the DelphiDabbler Blog for news.

» Help

Adding component help to Delphi

   

Despite what it says in Delphi's documentation, to add component help simply follow these instructions.

1: Add the component help file to the registry

Add the help file's location to

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Help

To add

C:\Program Files\Borland\Delphi4\Help\MyHelp.hlp

to the registry insert a value named MyHelp.hlp, with the above path as the value.

2: Enable Delphi to display the component's help keywords in the index

Open

C:\Program Files\Borland\Delphi4\Help\delphi4.cnt

and add the following entry to the end of the file's index section:

:Index My Help Title=MyHelp.hlp

3: Add link support to Delphi's Help system

Open

C:\Program Files\Borland\Delphi4\Help\delphi4.cfg

Add the following line to the end of the file:

:Link MyHelp.hlp

Then add

:Include Delphi4.cfg

to your contents file (MyHelp.cnt).

The article "How to integrate help files into the Delphi 3-7 IDE" expands upon this tip.
The Component Help Installer program and IDE extension automates the installation of component help files into the Delphi IDE.
Author: Unknown
Added: 2007-06-02
Last updated: 2007-09-24

« Return to contents »