Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Relative path in picture property
Message
From
11/01/2011 13:54:32
 
 
To
11/01/2011 10:21:22
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01495594
Message ID:
01495734
Views:
41
>>>Hi all
>>>I had an unexpected behaviour while setting the picture property of an image object.
>>>If I set it to a relative path i find it filled with the fullpath.
>>>Is there a way to force it to the relative path ?
>>>
>>>thanks
>>
>>Try ="relative path here"
>
>mmm it doesnt' work. I tried with
>
>MyImage.picture = ["myrelativepath\image.jpg"]
>
>but after that if I check the picture property content I find the same fullpath :(

If the image file as well as the form or report that references it are included in the project then the path information doesn't matter (it always uses the one embedded in the APP/EXE). If you're excluding the image file then on forms you can set the picture property at runtime.
Previous
Reply
Map
View

Click here to load this message in the networking platform