Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing pictures
Message
De
02/11/2004 11:45:48
 
 
À
02/11/2004 11:39:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00957056
Message ID:
00957096
Vues:
18
Thank you , that's just what I was looking for
Alessio

>>In a form i put an image control.
>>If I doubleclick on this.control the program launch the MsPaint Application to edit the picture. What happens (and I don't like it at all) is that when I modify the picture, the only way to see it modified in my form is to close the VFP environment and to run it again. I suppose VFP stores the picture in a cache memory, what can I do ?
>>Thank you
>>Alessio
>
>Hi Alessio,
>
>You have to clear the resources. Sometimes even we issue "Clear Resources", the image still in memory. So I always release the holder then clear it.
>
>Something like this will work
>
>Thisform.Image1.Picture = ''
>Clear resources ImgName.BMP
>ThisForm.Image1.Picture = 'ImgName.BMP'
>
>
>HTH
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform