Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement