<div dir="ltr">> Hi Graeme,<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
> It looks very interesting.<br>
> How would I instruct DocView to open at a particular section of a help<br>
> file from Lazarus?<br>
<br>
</div>DocView (binary download) comes with an extensive help file explaining<br>
all it's uses (concatenating help files at runtime, defining help as an<br>
environment variable, etc).<br>
<br>
But to answer your question, DocView accepts many parameters. The<br>
docview.inf help file explains that or select "Help->Command Line<br>
Parameters" inside DocView<br>
<br>
<br>
Supported command line parameters:<br>
<br>
<filename> Load the help file <filename><br>
-h Show this help<br>
-k <text> Search for keyword <<text> in open help files<br>
-n <id> Open Topic with numeric ID equal to <id><br>
-s <id> Open Topic with string ID equal to <id><br>
-debuglog <filename> Log information to a file<br>
<br>
So you can define numerical or keyword help inside your application -<br>
just like you would do with LCL or VCL applications. I don't know if you<br>
can override the default help viewer in LCL based apps. But if not,<br>
simply trap the F1 key (or probably the OnHelp event) and launch DocView<br>
with the the appropriate parameters listed above.<br>
<br>
I'm planning on more parameters and integration too. eg: placement and<br>
size of DocView, as well as IPC communication between the application<br>
and docview. The latter will allow you to control docview from your<br>
application.<br>
<div class="HOEnZb"><div class="h5"><br>
Regards,<br>
- Graeme -<br></div></div></blockquote></div><br><br><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Graeme,<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
Thanks for the info. I'll check it out and see if I can start using it. Hopefully the actuall creating of the .INF file will be a straight forward process as well :)<br><br>Richard</div><br></div></div>