Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing pictures
Message
From
02/11/2004 11:50:09
 
 
To
02/11/2004 11:45:48
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00957056
Message ID:
00957099
Views:
20
You're welcome :)

>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
Herman
Previous
Reply
Map
View

Click here to load this message in the networking platform