Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6 - Problem With HelpContextID & HLP-Style Help
Message
From
19/11/2002 15:12:14
Jose' Johnson
Valley Baptist Health System
Harlingen, Texas, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
VFP6 - Problem With HelpContextID & HLP-Style Help
Miscellaneous
Thread ID:
00724485
Message ID:
00724485
Views:
47
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
Map
View

Click here to load this message in the networking platform