Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Looking for the MPX
Message
 
 
À
16/12/1997 14:00:33
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00065992
Message ID:
00066327
Vues:
44
>>>I added my menus (MNX) to my Project under the Menu category, but when the application is run on my user's machine, it asks for the MPX file. Why? I shouldn't have to distribute this.
>>>
>>>Thanks
>>>Elyse
>>
>>
>>First -- Modify Menu MyMenu
>>
>>On the VFP menu bar click on Menu, then Generate. This will generate the menu code (.MPR). Then COMPILE MyMenu.MPR which will create the MyMenu.MPX which is what you distribute.
>
>Are you saying I have to distribute the .MPX files along with my .EXE?

Right. MyMenu.mnx is a table, and MyMenu.mnt is the associated memo file. When you create a menu through the menu designer, you must generate the menu. You call the menu with a DO MyMenu.MPR or DO MyMenu.MPX (compiled version of .MPR).

I usually have a .PRG that does some setup sork, then it calls the Menu with a DO command, followed immediately by a READ EVENTS command. I have an EXIT option on my menu bar that has a CLEAR EVENTS to return control back to my .PRG which cleans up and quits the application.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform