Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Make a Menu item invisible (not just disabled)?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00782645
Message ID:
00782679
Vues:
12
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform