Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-08

F1 for Help

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Leonardo M. Ramé

Hi, in another tread I've read Graemme's mention of pressing F1 to see help using fpGUI DocView. Where can I find info about replacing the on-line help and browser to an off-line without browser method?.

Thanks in advance,

Reply by email

Graeme Geldenhuys
to Leonardo M. Ramé
Leonardo M. Ram? wrote
Hi, in another tread I've read Graemme's mention of pressing F1 to see help using fpGUI DocView. Where can I find info about replacing the on-line help and browser to an off-line without browser method?.

DocView can be downloaded from SourceForge, in the fpGUI project. The INF help files for RTL, FCL, LCL and fpGUI can also be downloaded from Sourceforge.

http://sourceforge.net/projects/fpgui/files/fpGUI/Documentation/ http://sourceforge.net/projects/fpgui/files/fpGUI/0.7/

The Docview version inside the fpGUI's repository has a lot of improvements though, so I would recommend you rather compile a new docview to take advantage of the new features and speed improvements.

Integration of Docview into Lazarus IDE is very simple Simply set it up as an External Tools item. See attached image. Assign it the F1 keyboard shortcut.

Bug in Lazarus:
Lazarus IDE doesn't detect shotcut conflicts between Environment Options and External Tools items. So make sure F1 is not used in Environment Options -> Key bindings.

DocView can take many variations in command line parameters. I simply setup an environment variable BOOKSHELF, and let it point to a directory that contains all *.INF help files. You can then launch DocView simply with the filename (no extension needed) - this is shown in the attached screenshot.

Examlpe under Linux:
Add the following in your ~/.profile or ~/.bashrc file depending on your distro:

export BOOKSHELF=/opt/docs/inf/

DocView's accompanied help file explains all the remaining options and features of Docview.

I really should put all this in a Wiki Page, or create a section on the fpGUI website.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -------------- next part -------------- A non-text attachment was scrubbed... Name: docview-lazarus_2.png Type: image/png Size: 16983 bytes Desc: not available URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110808/a6bb6bcd/attachment-0001.png>

Reply by email

Leonardo M. Ramé
to Graeme Geldenhuys
Graeme Geldenhuys wrote 52 lines
On 08/08/2011 03:36 PM, Leonardo M. Ram? wrote: > Hi, in another tread I've read Graemme's mention of pressing F1 to see > help using fpGUI DocView. Where can I find info about replacing the > on-line help and browser to an off-line without browser method?. DocView can be downloaded from SourceForge, in the fpGUI project. The INF help files for RTL, FCL, LCL and fpGUI can also be downloaded from Sourceforge. http://sourceforge.net/projects/fpgui/files/fpGUI/Documentation/ http://sourceforge.net/projects/fpgui/files/fpGUI/0.7/ The Docview version inside the fpGUI's repository has a lot of improvements though, so I would recommend you rather compile a new docview to take advantage of the new features and speed improvements. Integration of Docview into Lazarus IDE is very simple Simply set it up as an External Tools item. See attached image. Assign it the F1 keyboard shortcut. Bug in Lazarus: Lazarus IDE doesn't detect shotcut conflicts between Environment Options and External Tools items. So make sure F1 is not used in Environment Options -> Key bindings. DocView can take many variations in command line parameters. I simply setup an environment variable BOOKSHELF, and let it point to a directory that contains all *.INF help files. You can then launch DocView simply with the filename (no extension needed) - this is shown in the attached screenshot. Examlpe under Linux: Add the following in your ~/.profile or ~/.bashrc file depending on your distro: export BOOKSHELF=/opt/docs/inf/ DocView's accompanied help file explains all the remaining options and features of Docview. I really should put all this in a Wiki Page, or create a section on the fpGUI website. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Thanks!

Reply by email