Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menu .mpr not keeping changes?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01425130
Message ID:
01425136
Vues:
44
>>I'm working on an app with a menu called mainmenu. My problem is that there is some code that's been added to the mainmenu.mpr that I need to change. I can do a "MODIFY COMMAND mainmenu.mpr" - make the changes, then do a "COMPILE COMMAND mainmenu.mpr" - and all is good....but when I recompile the project - all my changes are gone.
>>
>>Any suggestions on how I get my changes to stick?
>>
>>Thanks!
>
>You can rename it to .PRG and change the code that calls it.
>What changes are you making that cannot be done in the Menu Designer?

There is some code at the top of the .mpr file that is doing some configs for the application. I simply want to REMOVE this code from the .mpr file and put it somewhere else. If I modify the menu, and then do a "menu/generate" to generate the .mpr file - the stupid stuff is still in there. It's showing up at the top of it in a section called "Setup Code" - which is before "Menu Definition". The $64,000 question of course is how the heck to I remove the junk in the "setup code" section?? I don't see a way to do that with the menu designer.
ICQ 10556 (ya), 254117
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform