Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Relative path in picture property
Message
De
11/01/2011 13:54:32
 
 
À
11/01/2011 10:21:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01495594
Message ID:
01495734
Vues:
42
>>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform