Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hacking the project
Message
From
28/05/2010 08:37:51
 
 
To
28/05/2010 05:32:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01466192
Message ID:
01466361
Views:
46
>HI All,
>
>This does not seem to solve my problem. The project will compile all right and runs with the correct images but ... if I open a form in the IDE which has an icon, for example, or buttons with pictures, these are not found and I need to go and edit the paths to the images and icons folder location. In other words, the paths to the images and icons in the forms seems to have changed by moving the project to a deeper folder location.
>
>So how can I move the project to a deeper folder level but not have VFP change the paths to images and icons for the forms in the project?
>

Not that this will help your immediate system, but I always set pictures like this: ="mypicture.bmp" in the properties sheet. This gives me the flexibility to move things around if I want to and the project manager as well as the form will find it, once it's in the path.

Maybe you could loop through the active project and programatically edit all picture fields to be something similar?
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Reply
Map
View

Click here to load this message in the networking platform