Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inclunding top level menu in project???
Message
From
06/01/2003 04:30:21
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00738018
Message ID:
00738323
Views:
20
Luiz,
Yes mnx is just a table as is a form (scx). If your concern is really to include the mpr itself it's just another .prg file. Change its extension to .prg. Or alternatively remove .mnx, .mnt
Cetin

>Thanks for your response Cetin, Yes the "MNX" is there, but not the "MPX",
>"MNX" is just a table with the information to generate the "MPR", if I try to
>compile the "MPR" and then add the "MPX" it doesn't work either, it gives me the same message, if I call the "MPX" it tells me "No parameter statement found", It only works if I call the "MPR", but the "MPR" has to be exclude from the project. Look this topic in the help file for 7.0 "Adding a Menu to a Top-Level Form" so you can see what I mean. I would hate to distribute thie application with the "MPR" exclude to make it work. Thanks again.
>
>
>
>>>Hello everyone!!
>>> I have designed a "Top Level" form that includes a top level menu,
>>>in the Init event I call my menu with a DO MyMeny.mpr WIHT THIS,.T. as it is indicated in the FoxPro Help for top level forms, it works fine, but when I try to include the file MyMenu.mpr in the project it gives me an error when compiling, it says "The name of the file MyMenu.mpr is already used by another program in the project", even if a rename the "mpr" file it does the same, do I have to leave the file exclude from the project???, is there a workaround to this?
>>>
>>>Thanks much in advance.
>>
>>Luiz,
>>I never got such a message so not sure if this is it.
>>When you have code such as 'do ...' and build the project, pjx managaer automatically adds the file to project.
>>For a do Mymenu.mpr it'd add mymenu.mnx to menus node. My guess is that you later try to add .mpr to programs and get the msg ?
>>Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform