Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Robohelp Html Help Not Context-Sensitive
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00245368
Message ID:
00277648
Vues:
25
I have it working, but I'm not sure how it works. I have #DEFINEs generated by ForeHelp (demo version) and put the actual numbers (not the #DEFINEd constant names) in the property sheets. How does vfp know that these #DEFINEs refer to help topics, and any other #DEFINEs I might have do not? When I hit F1 and vfp finds a non-zero help context ID for my form or object, what does it actually do next to find the right topic?

I'm getting the impression that just putting these numbers into the property sheet is not the smart way, since I have to keep track of them somehow. What is the smart way to make the vfp numbers automatically agree with the numbers in various help builder projects? I tried the West Wind demo, which automatically generates topic names and numbers, and generates an #INCLUDE file. I didn't see any function or builder that coordinates them with your actual program objects. Did I miss it?

ForeHelp has a wizard that detects Help Context IDs in a compiled program. When I tried it, the wizard started asking me for the names of .DLLs in my program. I figured it wasn't going to work with a vfp program.

I suppose that an interactive builder could coordinate these things, displaying a list of the topic names in the #INCLUDE file and a list of all objects in a vfp project that have the HelpContextID property and prompting the user to match them up. It could then open the forms and change that property in each object that had a chosen topic.

>Menachem
>
>You aren't setting the HCIDs on the property sheet are you? The prop sheet doesn't work with #define items. You'll either have to use the actual number on the prop sheet or set the HCID in Init using the #define.
>
>>I'm trying to use an html help file created in Robohelp 7 with a Foxpro 6 application. The help file opens when I press F1, but always to the first page (the page that has the helpcontextid of 1). This occurs regardless of which object has the focus.
>>
>>I created an .h file containing a #DEFINE for each help subject (#DEFINE id_namesearch 1, #DEFINE id_ssnsearch 2, etc). I used the same numbering scheme on the Robohelp side when compiling the .chm help file. A diagnostic program Robohelp sent confirmed that the subjects are associated with the correct context numbers in the .chm file, so the problem seems to be on the Foxpro side.
>>
>>I'm using SET HELP TO to point to the .chm file, and the program finds it well enough. My objects' helpcontextid values are set to the appropriate numbers. I put the .h file in the same directory and tried putting an #INCLUDE statement in the code so the #DEFINES are included in my executable, but the help file is still not context-sensitive.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform