Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menu not found when exit 2nd app. back to first app.
Message
De
27/04/2004 12:11:00
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00898527
Message ID:
00898580
Vues:
12
I put a push menu command into my code and ran it, it came back and told me that it needed to be defined by the DEFINE Menu command. I went back in and changed it to the name in the mpr file (which was _msysmenu) and ran it again after the build and it came back with the same error.
defined in mainprog:
gcMenuUsed = "_msystem"

code in form that calls new app:
push menu gcMenuUsed
DO ALLTRIM(cExeString) WITH .T.

code in 2nd app going back to first:
pop menu gcMenuUsed

IF(gncalledfromtrnrpt = 1) THEN
lcExeString = ALLTRIM(cHelpString + "TRNRPT.EXE")
DO ALLTRIM(lcExeString)


> How did you come to such incorrect conclusion? All POP MENU/PUSH MENU >commands need is menu name. In case of menu created by Menu Designer it's VFP >system menu (_MSYSMENU).
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform