Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HELP on Context Sensitive Help
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00173116
Message ID:
00181636
Views:
32
David -

I too am struggling with VFP context sensitive help, and I found this thread in the UT history.

When I open the form and press F1 (with SYS(1023) on), VFP asks me if I want to "Pass on Context ID: 1879048194(70000002h) to the help engine". I suspend the app, put the mouse over the form and type "o = sys(1270)". ?o.HelpContextId returns 16.

o.WhatsThisButton = .F.
o.WhatsThisHelp = .F.
o.WhatsThisHelpId = 16

If I type "help id 16" in the command window it brings up the help topic I want just fine. Any ideas? TIA.

- Mark

>Eitan,
>
>The HelpContextIDs and WhatsThisHelpID must match the ContextIDs that you set for the topic in the help file. WhatsThis help is limited to certain form types that makes it pretty useless IMHO. If you just set the HelpContextID of a form all the controls that have a HelpContextID of 0 will "inherit" the ID of the form.
>
>
>>Has anyone out there got the context sensitive help mechanism to work?
>>We're bashing our heads against VFP's documentation and coming up with only sore heads! We've created an .HLP file and an .HH map file and set the WhatsThisID's to the ID numbers in the map file and got the ? button on the title bar and got in the test form's INIT we have SET HELP TO X.HLP... but we don't know what to do with the WhatsThisMode method of the form (if anything) and the ShowWhatsThis method of the objects.
----------
Mark Bucciarelli
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform