How to activate WinHelp with F1

Post Reply
User avatar
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

How to activate WinHelp with F1

Post by dutch »

Dear All,

I would like to activate Help file WinHelp() with F1. I try to use as following but it doesn't work and it will ask to fine MAIN.HLP.

SET KEY VK_F1 TO WinHelp('MyHelp.HLP')

How can I do it?

Thanks&Regards,
Dutch
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

Dutch,

Try just redefining the helpIndex() function (and don't use SET KEY).

function helpIndex()
return winHelp("myhelp.hlp")

James
Post Reply