Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ARGH! Help with Help
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
ARGH! Help with Help
Miscellaneous
Thread ID:
00181944
Message ID:
00181944
Views:
36
For some reason, I can't get context-sensitive help to work with my form. It's probably something easy, but I'm unable to track it down and it is driving me nuts. The help file keeps displaying the table of contents page instead of the specific topic I want.

I'm sure SET HELP is corrent and the form's ContextHelpId is correct, as I output both of these values at the end of the form's init and they check. I know the topic # is right because when I create a test form F1 brings up the proper topic just fine.

I've searched UT history as well as MSDN and didn't find anything. I searched the entire app for the text strings "F1" and "Help" and nothing seems unusual. I suspend the app with the form loaded and ON('key label', 'f1') returns the empty string. I tried setting step on in a control's keypress event, but when I press F1 when that control has focus, the debugger didn't load (the keypress event didn't fire???). I ran sys(1023) and when I press F1 foxpro asks me if I want to pass some long context ID that is no where near 16 (the form's help context id). In fact, the app almost always tries to pass this big context id to the help engine. The only time i can get a different context id to be passed is when i press F1 when a menu is pulled down. (Then it wants to passs zero.) If I suspend the app and type help id 16 in the command window the proper topic displays.

Is there something in the application settings that could be causing this behavior? Thanks.
----------
Mark Bucciarelli
Next
Reply
Map
View

Click here to load this message in the networking platform