Information générale
Catégorie:
Gestionnaire de menu & Menus
>Yes, as the developers guide says, I issue this command in the Init event of the said form: DO xxx.mpr WITH THIS, .T.
>This syntax is identicle to microsofts example... Yet there is an error...
>
>Eric K.
>
>>>Hello,
>>>
>>>
>>>>I have an SDI menu with the general option set for top level form. The form is set to top level form. Everytime I run the app and show this form, I get a message box that says the menu can only be run with a top level form, which it is. What's up? :)
>>>>BTW, how do you view the header info of an .mpr?
>>>Perhaps, you do not pass the reference to that form? Sorry, if you do...
>>
>>
>>DO YourMenu.Mpr WITH oTop-LevelForm
>>
>>As Vladimir stated, you need to pass a reference of the form to the menu. If you look at the .MPR, you'll be able to read about this requirement.
>>
>>Steve
I've never passed the .T. as a 2nd parameter. Sometimes the name of the menu.
You can view the .mpr with "modify command MyMenu.Mpr" in the command window.
Steve
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