* * *

Author Topic: Configure help.  (Read 2797 times)

orela

  • New member
  • *
  • Posts: 6
Configure help.
« on: July 26, 2010, 10:53:59 am »
What are the steps to configure the help.
For example F1 or Ctrl+F1 will open the help file (not the browser).
Is it possible to operate it also on components?

Thanks

Leledumbo

  • Hero Member
  • *****
  • Posts: 2715
Re: Configure help.
« Reply #1 on: July 26, 2010, 02:21:54 pm »
Quote
What are the steps to configure the help.
For example F1 or Ctrl+F1 will open the help file (not the browser).
You must have an offline version of the docs, either html or chm. Then set the appropriate path in environment options->help. For chm, you also need to install components/chmhelp. The viewer will be automatically compiled if it doesn't yet exist.
Quote
Is it possible to operate it also on components?
Haven't tried, but context sensitive help (hover your mouse on a word in source editor and press F1) works perfectly.

orela

  • New member
  • *
  • Posts: 6
Re: Configure help.
« Reply #2 on: July 27, 2010, 10:21:48 am »
Hi

I downloaded the .chm file and copy it to C:\lazarus\docs\html
In the IDE options - Help - Help option
I wrote C:\lazarus\docs\html in the FPC Doc HTML path.
What are the steps to - "install components/chmhelp" ?
I didn't understand how the automatic compiler will work.
Please explain.

Thanks




Leledumbo

  • Hero Member
  • *****
  • Posts: 2715
Re: Configure help.
« Reply #3 on: July 27, 2010, 02:05:08 pm »
Quote
What are the steps to - "install components/chmhelp" ?
Find a .lpk file there, double-click it (assuming you have it associated with Lazarus) or drag drop it to lazarus ide. Package dialog will pop up, choose install.

orela

  • New member
  • *
  • Posts: 6
Re: Configure help.
« Reply #4 on: July 27, 2010, 05:06:38 pm »
I compiled the package and installed it.
When i press F1 on some code in the code editor i get this message:
"Help viewer not found the program "" doesn't seem to exist"
I put the help path to the .chm files.
What is the problem?
Why lazarus does not install it on default?

Thanks


Leledumbo

  • Hero Member
  • *****
  • Posts: 2715
Re: Configure help.
« Reply #5 on: July 28, 2010, 11:12:08 am »
Quote
"Help viewer not found the program "" doesn't seem to exist"
The viewer should point to a program called lhelp, it resides under chmhelp directory. Read this.
Quote
Why lazarus does not install it on default?
It's a new feature, it will be available in the next release. Please read this.

picstart

  • Full Member
  • ***
  • Posts: 145
Re: Configure help.
« Reply #6 on: July 28, 2010, 04:22:20 pm »
When offline help itself needs help it is often an indication of an obtuse solution. I gave up on offline help since I never got it to work.
The online web based help does work and I have a working  offline delphi help as well.

Leledumbo

  • Hero Member
  • *****
  • Posts: 2715
Re: Configure help.
« Reply #7 on: July 29, 2010, 05:30:27 am »
Quote
When offline help itself needs help it is often an indication of an obtuse solution
Well...if you're a daily snapshot user that won't be a problem ;)
In the next release (I hope) it would be installed by default so the help system doesn't need help to install

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads