Lazarus
September 02, 2010, 05:10:13 pm *
  Home   Forum   Help Search Login Register  
* * *
Pages: [1]
  Print  
Author Topic: Configure help.  (Read 557 times)
orela
Newbie
*
Posts: 5


Email
« on: July 26, 2010, 09: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
Logged
Leledumbo
Hero Member
*****
Posts: 1265



« Reply #1 on: July 26, 2010, 01: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.
Logged
orela
Newbie
*
Posts: 5


Email
« Reply #2 on: July 27, 2010, 09: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



Logged
Leledumbo
Hero Member
*****
Posts: 1265



« Reply #3 on: July 27, 2010, 01: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.
Logged
orela
Newbie
*
Posts: 5


Email
« Reply #4 on: July 27, 2010, 04: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

Logged
Leledumbo
Hero Member
*****
Posts: 1265



« Reply #5 on: July 28, 2010, 10: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.
Logged
picstart
Jr. Member
**
Posts: 81


Email
« Reply #6 on: July 28, 2010, 03: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.
Logged
Leledumbo
Hero Member
*****
Posts: 1265



« Reply #7 on: July 29, 2010, 04: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 Wink
In the next release (I hope) it would be installed by default so the help system doesn't need help to install
Logged
Pages: [1]
  Print  
 
Jump to:  

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads
TinyPortal v1.0 beta 4 © Bloc
Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!