Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using images
Message
De
19/04/2004 23:55:43
 
 
À
19/04/2004 23:47:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
Divers
Thread ID:
00896259
Message ID:
00896350
Vues:
24
>If you want the .MPR file to include the right paths, then you should change the default directory to the folder where the .MNX file is before modifying it.
>What I did was to include some lines of code in the queryModifyFile() event of the project hook class of my projects:
>
>
>LPARAMETERS oFile, cClassName
>*-- If I modify the menu file (located in code\prgs) then modify the default
>*-- directory so that icons in the menu are included with the appropiate path.
>do case
>case lower(right(oFile.name, 8)) == 'main.mnx'
>	set Default To d:\projectFolder\code\prgs
>.................
>endcase
>
>
>I found it to be the less annoying solution at least for me.
>Hope it works for you.

Thanks for that but I will keep the external approach as suggested in the other message.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform