Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menu Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
Divers
Thread ID:
00300717
Message ID:
00300726
Vues:
21
>I call a second menu (recmenu) from my mainmenu (mainmenu). I am unable to figure out the correct syntax to switch between menus.
>I call recmenu from a command in mainmenu (do recmenu.mpr). If I try to return to my main menu by name (show menu mainmenu), I get the error "menu not defined".
>How do I correct my problem?
>THANKS!

Ken,

You have two choices, the simple one is to run the main menu again as in;

DO MainMenu.mpr

The more complex but probably better way is to use the PUSH MENU and POP MENU commands to save the main menu in memory;
PUSH MENU _msysmenu
DO recmenu.mpr

...

* when you're done

POP MENU _msysmenu
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform