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:
00397230
Vues:
17
>>>>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'
BTW, I found "undocumented" feature of Reduce() function: it can be used with one parameter only and it reduces spaces by default :).
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform