Information générale
Catégorie:
Gestionnaire de menu & Menus
I have a main menu for my application. I am trying to create an alternate menu which appears when a specific form is called.
In the Init method of the form I have the following code:
push menu MainMenu
do FormMenu.mpr
This produces the error:
Menu has not been defined with Define Menu.
When I examine the code generated by Foxpro in "Generate Menu", the code does not include a define menu statement. Is this a bug? Do I have to hand-code the menu definition? Am I doing something wrong? Does Foxpro not understand it's own menu definitions? What can I do?
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