Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using PUSH MENU _msysmenu?
Message
De
22/10/1997 14:55:10
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00056060
Message ID:
00056129
Vues:
46
>>I have coded a program in vfp50. The menu system
>>has two items and they are:
>>FILE EDIT
>>Is there a way to turn off one of these items?
>>Example: run code and get the menu to look like..
>>EDIT
>
>Robert,
>
>You were on the right track.
>
>Try this:
>
>PUSH MENU _MSYSMENU
>RELEASE PAD _MFILE OF _MSYSMENU
>
>The File menu is now gone. Now when you want to restore the original:
>
>POP MENU _MSYSMENU
>
>FoxPro maintains its menu in what's referred to as a LIFO stack (Last In, First Out). The beauty of this is that it requires very little additional code (and certainly no special menu generators). The only problem might be in making sure that the PUSHes/POPS match up. You can use
>
>SET SYSMENU TO DEFAULT
>
>to restore the default configuration if there's a problem.
>
>HTH,
>
>George
thanks George:
RELEASE PAD _MFILE OF _MSYSMENU is my answer and it works...
thanks again :))))
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform