Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help System User Interface - adding records
Message
De
18/05/2001 08:22:39
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
18/05/2001 08:03:41
David Fluker
NGIT - Centers For Disease Control
Decatur, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00508486
Message ID:
00508633
Vues:
33
>>Renoir
>
>I'm with you, I hate having to make major changes to what I've already written and tested. So here's another idea. I don't know your code, but I imagine you are passing something like This.HelpContextID to your help form. If so, you need three changes.
>1. Change it to pass just "This" (without the quotes, of course).
>
>2. Change the Help System parameter to oObj. If oObj.HelpContextID is greater than zero, use it. Your done and everything works as before. If oObj.HelpContextID = 0, then lookup oObj.Name in the table to get your HelpContextID. Once again, everything works the same.
>
>3. Add code to the part of the help sytem that allows users to add new help screens so it will generate a valid HelpContextID and store it in the table with oObj.Name.
>
>
>This should work with a minimum amount of Search and Replace.

Doh! I just read your message after doing much of the changes... That'll learn me to have such a good work ethic! Great idea... I just don't think along those lines sometimes; always assume I need to rewrite when I can often just re-reference. Next time though, next time... Renoir
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform