Page 1 of 1

How to activate WinHelp with F1

PostPosted: Thu Jan 26, 2006 3:15 am
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

PostPosted: Thu Jan 26, 2006 4:40 pm
by James Bott
Dutch,

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

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

James