Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Make a Menu item invisible (not just disabled)?
Message
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00782645
Message ID:
00782679
Views:
13
This message has been marked as a message which has helped to the initial question of the thread.
>Can this be done now in VFP8? Any ideas on how to do this? I have a deadline by COB today to do this! Sheesh! Oops, we are still deploying in VFP7 not VFP8.
>
>TIA,

Tracy,

You always been able to do this. Look at the PUSH or POP menu command. Here's some code that removes the last two items of a menu pad
lnLastBar = CNTBAR("_MSYSTEM")
PUSH MENU _MSYSMENU
RELEASE BAR lnLastBar OF _MSYSTEM
RELEASE BAR lnLastBar - 1 OF _MSYSTEM
* When you need to restore it
POP MENU _MSYSMENU
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform