Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Looking for the MPX
Message
 
 
To
16/12/1997 14:00:33
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00065992
Message ID:
00066327
Views:
43
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform