Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SDI Menu error...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00082909
Message ID:
00083574
Vues:
45
>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
Fil
Voir

Click here to load this message in the networking platform