Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trouble with context-sensitive help
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Trouble with context-sensitive help
Miscellaneous
Thread ID:
01664781
Message ID:
01664781
Views:
58
I have a compiled help file built with West Wind's Help Builder. For various forms in my app, i have set the form's HelpContextID property to map back to a specific help topic in the CHM file.

My Inno Setup file installs and registers the required foxpro help support files via....
[Files]
Source: System\foxhhelp9.exe; DestDir: {app}; Flags: restartreplace sharedfile uninsneveruninstall
Source: System\foxhhelpps9.dll; DestDir: {app}; Flags: regserver
;--------------------------
[Run]
Filename: {app}\foxhhelp9.exe; Parameters: /regserver
In the application startup process i am turning on help via the following code:
SET HELP ON
ON KEY LABEL f1 HELP
SET HELP TO myhelp.chm
HELP
The problem is that context sensitive help does not work. The help file displays, but there is no navigation to the specific help topic. So on a form with HelpContextID set to 73, pressing F1 displays the main page of the help file.

I have added a button to a form, and in its CLICK method, i added the code below:
SET HELP ON
SET HELP TO myhelp.chm
ON KEY LABEL f1 HELP
HELP ID 73
This code above DOES display / navigate to the HELP ID page in the help file. But pressing F1 does not. Again, i get the help file to display with F1, but not the specified topic.

Additionally, context sensitive help DOES work on a windows 10 dev machine when running the app EXE inside and outside of VFP.

What am i missing?
Next
Reply
Map
View

Click here to load this message in the networking platform