Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing pictures
Message
De
02/11/2004 11:39:51
 
 
À
02/11/2004 11:11:08
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:
00957088
Vues:
19
This message has been marked as the solution to the initial question of the thread.
>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
Herman
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform