General information
Category:
Forms & Form designer
Title:
VFP6 - Problem With HelpContextID & HLP-Style Help
Hello everyone,
My team and I are having a (minor) problem setting up context-sensitive help using the HelpContextID property in our VFP6 forms. We're using the old-style HLP format files. (I don't know if that makes any difference or not). Each form will have a topic associated with it. Here's an example of the code that we have placed in the Init of our forms:
#include CARDIO.H
THIS.HelpContextID = IDH_LOOKUSER
THIS.SetAll("HelpContextID", IDH_LOOKUSER)
As you'd expect, the help topic IDs are defined in the file CARDIO.H file and IDH_LOOKUSER is the ID of the topic to pull up for this form. During execution, though, pressing F1 results in the help file being displayed but at the contents page. We know we can add "Set Topic ID To IDH_LOOKUSER" and make the context-sensitivity work, but we'd prefer to use the HelpContextID property instead.
Does anyone have any ideas or suggestions what we might be doing wrong? Any help would be appreciated.
Thanks in advance,
Jose'
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only