>>>>How do I use the help context ID with Win help?
>>>>When I enter the context Id, it won't open the help topic I have associated
>>>>with this ID. Do I need to call the help file with a parameter?
>>>
>>>I assume that you have reviewed Chapter 23: Creating Graphical Help, correct? Can you let us know exactly how you're trying to display the help?
>>
>>What I did so far:
>>SET HELP ON
>>SET HELP TO English.HLP
>>ON KEY LABEL F1
>>
>>No when I have a form active, I would like the correct help topic to be opened upon F1 key press. When using the command SET TOPIC TO MyTopic, the help (I use Win95 help) opens displaying the topics but it does not open the topic directly.
>>
>>When issueing HELP ID 4, then the correct topic is displayed.
>>
>>But in both cases, the form property HelpContextID is not used by the F1 (help) command.
> Christian,
>
>You need something like the following before the help will work:
>
>
>SET HELP ON
>ON KEY LABEL F1 DO FORM Form_Help WITH nHelpContextID
>
>
>Where Form_Help expects the parameter which is set in the GotFocus (or other appropriate place) of the individual objects.
>
>Renoir
...Or, more appropriately, use CHM file help. West Wind has a version that is awesome and easy to get going with.
Renoir