How to activate WinHelp with F1

How to activate WinHelp with F1

Postby dutch » Thu Jan 26, 2006 3:15 am

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
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby James Bott » Thu Jan 26, 2006 4:40 pm

Dutch,

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

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

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA


Return to FiveWin for CA-Clipper

Who is online

Users browsing this forum: No registered users and 14 guests