本文介绍了如何将.chm帮助文件添加到我在Lazarus中构建的应用程序中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我可以在网上找到的唯一文档将我指向一个名为Ihelp的演示应用程序,该应用程序在我的Lazarus(v1.2.4)版本中似乎不存在.

The only documentation I can find online points me to a demo application called Ihelp which doesn't appear to exist in my version of Lazarus (v1.2.4).

我已经创建了.chm帮助文件,只是想在用户按F1键(或从弹出菜单中选择帮助")时将其提供.

I've created my .chm help file and just want to make it available when the user presses F1 (or selects 'Help' from a popup menu).

FCL中有一个CHM组件,但我不知道如何使用它.

There is a CHM component in the FCL but I can't figure out how to use it.

该表单似乎也具有与帮助相关的各种参数,但是我仍然无法弄清楚如何使用它们-所有示例似乎都指向单独的HTML文件,而不是编译后的HTML帮助文件.

Also the Form appears to have various Help related parameters but again I cannot figure out how to use them - all examples seem to point to separate HTML files rather than a compiled HTML help file.

推荐答案

在Lazarus/FreePascal Wiki中有一个关于它的Wiki页面: http://wiki.lazarus.freepascal.org/Add_Help_to_Your_Application

There's a wiki page about it in the Lazarus/FreePascal wiki:http://wiki.lazarus.freepascal.org/Add_Help_to_Your_Application

据我所知,Lazarus默认将帮助文件提供为HTML文件,无论如何也支持CHM文件.

As far as my knowledge Lazarus provides help files as HTML files by default, anyway CHM files are supported too.

您的Lazarus安装中有一个示例程序:

There's a sample program in your Lazarus installation:

此演示演示了如何设置上下文相关的帮助按钮(通常为F1).

This demo shows how to set up a context- sensitive help button (F1 usually).

请务必查看有关lhelp(也是默认的Lazarus CHM查看器)的文档,如下所述:

Be sure to check the documentation about lhelp, the default Lazarus CHM viewer too, described here:

http://wiki.lazarus.freepascal.org/lhelp

这篇关于如何将.chm帮助文件添加到我在Lazarus中构建的应用程序中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-07 23:03