I dont understand why the tachart package is not included in context sensitive help. I compiled a tachart.chm file and moved it into the docs directory but I cant figure out how to enable the IDE to use it. I can open it up manually but it would be nice if I could place the cursor on a tachart method or property and hit F1.
Can anyone point me in the right direction or help me understand what I need to do?
Cheers!
The only mechanism I've found for anything other RTL, FCL, LCL, and LazUtils help files is the externhelp package located in
$(LazarusDir)/components/externhelp. It has to be installed in the IDE (which it is by default), and you must use
Tools > Options > Help > External to create a help database registration for your help file. For instance, I created an entry for a CHM file for lazcontrols as pictured in the attachments.
Enter the Name, Unit File or Directory, and URL to the values you need for your help file. After making and applying the change, you'll be prompted to rebuild the package and the IDE.
At that point, F1 should open the application associated with CHM files on your system using the file name and the selected identifier in the IDE.
I'm on Linux, but I don't think Lazarus cares about the path delimiter used. It'll accept both \ and /.
Good luck.