Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HELP on Context Sensitive Help
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00173116
Message ID:
00181763
Vues:
17
Well, I tried setting the form's HelpContextId to 16. When that didn't work, I did a select all in design mode and set everyone's HelpContextId to 16. When that didn't work I tried setting the WhatsThisHelpId to 16 as well.

For some reason, the form is passing the context ID 1879048194 to the help engine instead of 16 (even though the form's help context id is 16). I'm stumped.

>Mark,
>
>You want to normally just set the form/control HelpContextID property, that's what's passed on a "Help" event. The WhatsThisHelpID is only set to the help engine when you have the form with the WhatsThisHelp button in the titlebar.
>
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform