Linking F1 to a CHM file

Working on new editor enhancements?
akee
Enthusiast
Enthusiast
Posts: 478
Joined: Wed Aug 18, 2004 9:52 am
Location: Penang, Malaysia

Linking F1 to a CHM file

Post by akee »

Does anyone know how to make our CHM file context sensitive inside the PB Editor?

I have written my CHM file and it is listed in the PB Editor's Help, External Help.

If I have a procedure Hello() and when I click the F1 key when the cursor is on the word Hello, how do I make it default to the page where the contents for the procedure Hello() is listed?

Right now when I click F1, the right CHM file runs, but the content displays "This program cannot display the webpage". But when I click the Hello in the Content or Index, it gets displayed correctly.
User avatar
Danilo
Addict
Addict
Posts: 3037
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: Linking F1 to a CHM file

Post by Danilo »

If your command is Hello(), the name of the site in the .chm should be 'Hello.html'
akee
Enthusiast
Enthusiast
Posts: 478
Joined: Wed Aug 18, 2004 9:52 am
Location: Penang, Malaysia

Re: Linking F1 to a CHM file

Post by akee »

Yes it works... Thanks (x100) Danilo... :D
Post Reply