Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Foxtools Help add to Help menu
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00397183
Message ID:
00397240
Vues:
13
>>>>>Hi everybody,
>>>>>
>>>>>I've downloaded George Tasker's Help for FoxTools. Now I'm wondering, how can I use it. How can I include this Help file in the menu?
>>>>>
>>>>>Thanks in advance.
>>>>
>>>>Nadya,
>>>>
>>>>While I don't have it as a menu item, I do use the following:
* PROGRAM: Toolhelp.prg
>>>>* AUTHOR: George Tasker
>>>>* DATE: October 18, 1999 - 10:23 AM
>>>>* PURPOSE: Activates Foxtools help
>>>>
>>>>LPARAMETER pctopic
>>>>
>>>>LOCAL lchelp
>>>>lchelp = SET('HELP', 1)
>>>>SET HELP TO TOOLHELP.HLP
>>>>HELP &pctopic
>>>>SET HELP TO (lchelp)
>>>>RETURN
>>>>
>>>
>>> Ok, great. I'll try to create an additional item in VFP menu and would use this program. ToolHelp should be in a path, right? I'll put it in home() directory...
>>
>>Both the program and the help file are in the Fox path. It's just easier for me to type in: DO Toolhelp WITH "WordNum" or whatever than using the menu. I usually use the command window to invoke the normal help file anyway.
>
>Ok, I just did:
>
>DEFINE BAR 8 OF _MSM_SYSTM PROMPT "\-"
>DEFINE BAR 9 OF _MSM_SYSTM PROMPT "FoxTools Help"
>
>ON SELECTION BAR 9 OF _MSM_SYSTM do home()+'ToolHelp.prg'
Make sure you remove the references to the parameter in the prg.

>BTW, I found "undocumented" feature of Reduce() function: it can be used with one parameter only and it reduces spaces by default :).

I was aware of that, but wasn't aware that the file didn't mention it. I'll have to include the correction the next time I modify the file. Thanks.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform