SetAutoHelp

SetAutoHelp

Postby TimStone » Fri Nov 03, 2023 4:37 pm

I like the new feature of SetAutoHelp. ... but I have the F1 key set to my manual which is already quite extensive.

I would like to actually use the feature but add it as an F2 key. When changing the code, however, it disables the F1 help.

Any suggestions for making both work ... F1 for the context sensitive help in the manual, and F2 so the user can write their own help notes ?

I figured I'd ask first since it might be a simple solution with the existing source code.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2943
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: SetAutoHelp

Postby TimStone » Fri Nov 03, 2023 6:00 pm

I actually resolved this. I created a new .prg called UserHelp.

I then changed the key settings to F2, and AutoHelp to UserHelp references.

I included only the functions through IsHelpFile( ).

I modified the call to SetUserHelp( ).

I then linked in the new .prg.

Now I have both context sensitive help for the manual on F1, and the User Entered Help on F2.

The user defined help is great for those businesses who want to enter their specific guidance for using specific dialogs, codes, etc. I think my clients who use it will be happy.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2943
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: SetAutoHelp

Postby Antonio Linares » Fri Nov 03, 2023 7:42 pm

very good!
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42065
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 36 guests