Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refresh image cache
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01229343
Message ID:
01229451
Views:
17
>>> I had no luck with this. Eventually I just had to go with unique names until the next time VFP got started.
>>
>>try this:
>>
>>- disconnect the image file from the control, for example, clear the Picture property
>>
>>- issue CLEAR RESOURCES
>>
>>- reconnect the image file and Refresh
>
>I had tried:
>thisform.objImage.picture=" "
>Clear Resources
>thisform.objImage.picture="c:\files\checkImage.tif"
>thisform.refresh()
>
>most of the time it did not work.
>now I use a sequential naming process and use the a variable in the .picture:
>mVar = "c:\files\Image01.tif"
>thisform.objImage.picture=mVar

Did you try the
CLEAR RESOURCES x:\path\yourfilename.tif
?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform