lazarus/components/chmhelp
mattias e9cc372dda chmhelp fixed typos
git-svn-id: trunk@30820 -
2011-05-19 20:34:55 +00:00
..
democontrol * Added two way comunication to LHelpControl 2009-09-13 18:34:50 +00:00
lhelp Formatting: joined lines where only ');' was split to its own line, in procedure defs. 2011-03-16 16:52:28 +00:00
packages chmhelp: no need for ref.kwd any more 2011-05-19 20:17:50 +00:00
README.txt chmhelp fixed typos 2011-05-19 20:34:55 +00:00

lhelp is a program written entirely using FreePascal and the LCL to read .chm help files.

This is a basic HOWTO for integrating lhelp into the Lazarus IDE.


1 ) Start Lazarus

2 ) Install Package:

    In the Components Menu choose "Open Package File"
    Browse to the lazarus/components/chmhelp/packages/idehelp directory and
    open "chmhelppkg.lpk"

3 ) Now click "Install".

4 ) Restart Lazarus(if it didn't automatically)

5 ) Open the lhelp project in lazarus/components/chmhelp/lhelp/lhelp.lpi
    Compile lhelp.

6 ) Configure the paths for the lhelp:

    From the Help menu choose "Configure Help"
    Change to the "Viewers" tab and select "CHM Help Viewer"

    HelpEXE:
    For the "HelpEXE" entry browse to the lazarus/components/chmhelp/lhelp/ folder 
    and select the lhelp executable.

    HelpFilesPath:
    This is the directory that contains the lcl.chm fcl.chm and rtl.chm files.
    You can compile these files yourself or download them from the
    www.freepascal.org download page.

    HelpLabel Name and Tag do not need to be altered.
    The HelpLabel is the name of the named pipe that lazarus will use to communicate with lhelp.

7 ) Configure the DataBases

    Choose the DataBases tab.

    RTLUnits:
    this should be "rtl.chm://"
    FCLUnits:
    this should be "fcl.chm://"
    LCLUnits:
    this should be "lcl.chm://"

    NOTE if you have only a single lcl-fcl-rtl.chm file then paths become:
    "lcl-fcl-rtl.chm://rtl/"
    "lcl-fcl-rtl.chm://fcl/"
    "lcl-fcl-rtl.chm://lcl/"

Now close this window and check out the integrated help :)

Enjoy