Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using PUSH MENU _msysmenu?
Message
From
22/10/1997 14:55:10
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00056060
Message ID:
00056129
Views:
40
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform