Page 1 of 1

F1 help ?

Posted: Tue Aug 31, 2004 11:28 am
by wilbert
I'm trying to create a help file using Docmaker.

When I press F1 on a function I created, the help file is loaded but it doesn't jump to the right function, instead it reports that it can't find the page.

What could I have done wrong ?

Posted: Tue Aug 31, 2004 12:30 pm
by Num3
From the manual:

OpenHelp("help.chm", "index.htm")
OpenHelp("help.chm", "print.txt")

Remember, the 2nd parameter has to match the page name you're trying to display...

If the original page that contains the about text was called about.htm you must call it like this:

OpenHelp("help.chm", "about.htm")

Posted: Tue Aug 31, 2004 1:29 pm
by Fred
You need to check 'User library' checkbox when creating the help with the DocMaker and it should work.

Posted: Tue Aug 31, 2004 5:30 pm
by wilbert
After a lot of trying I got it working.

I had to check the "don't include folders in compiled file" option in the HTML Help Workshop otherwise it didn't work for some reason.