Recent

Author Topic: Designing Help for your Laz designed application...  (Read 976 times)

1HuntnMan

  • Sr. Member
  • ****
  • Posts: 436
  • From Delphi 7 to Lazarus
    • NewFound Photo Art
Designing Help for your Laz designed application...
« on: December 31, 2023, 05:58:22 pm »
I'm relatively new at Lazarus and have an application I developed with Lazarus/FPC.  Practically finished and researching HELP design.
I followed the README.txt for chmhelp and installed the components. They installed under System in the Laz IDE.

The documentation also referenced downloading additional files, see below in parentheses.  These paths don't exist on Sourceforge or Stack!  Under system I now have TLHelpConnector, TCHMHelpDatabase, THTMLBrowserHelpViewer and THTMLHelpDatabase.

Do I have this installed correctly and ignore the part below in parentheses?????

Configure the paths for the lhelp:

    From the Tools menu choose "Options"
    Change to Help / Help options.
    Change to the "Viewers" tab and select "CHM Help Viewer"

    HelpEXE:
    Leave it empty to use the default: $(LazarusDir)/components/chmhelp/lhelp/lhelp(.exe)

    HelpFilesPath:
    This is the search path where to search for chm files.
    Default is $(LazarusDir)/docs/html;$(LazarusDir)/docs/html/lcl;$(LazarusDir)/docs/chm

    { You can download the lcl.chm, fcl.chm, rtl.chm from
    http://sourceforge.net/projects/freepascal/files/Documentation/
    the lcl.chm, rtl.chm, fcl.chm, prog.chm from
    http://www.stack.nl/~marcov/doc-chm.zip }

    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:
    Leave it empty to use the default: "rtl.chm://"
    FCLUnits:
    Leave it empty to use the default: "fcl.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 :)

1HuntnMan

  • Sr. Member
  • ****
  • Posts: 436
  • From Delphi 7 to Lazarus
    • NewFound Photo Art
Re: Designing Help for your Laz designed application...
« Reply #1 on: January 09, 2024, 08:53:14 pm »
Adding this for all who read this post:  https://wiki.lazarus.freepascal.org/Category:Help_and_Docs

 

TinyPortal © 2005-2018