Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug on Image Refresh
Message
From
11/02/1997 04:18:29
 
 
To
10/02/1997 14:22:18
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00019925
Message ID:
00019998
Views:
34
>>Has anyone out there noticed (or found a fix for) when changing/modifying a .BMP or .ICO, VFP doesn't refresh the image unless you exit and reload VFP?
>
>Visual FoxPro caches the BMP image. I haven't found a solution for that. Whenever we change the BMP with an external tool and switch to Visual FoxPro, the old BMP is still displayed when we starts the application.

Three solutions:

In FP/Win there is an undocumented SYS() function that flushesthe bitmap cache.

In VFP 3 use RANDOM names for every bitmap, so that the name is not the same. In the end VFP runs out of resources and crashes.

In VFP 5 use the new CLEAR RESOURCES command that will release it from the cache.


I think my continual complaint (and demo that crashed VFP3 after 20 images) since the beta has actually given us a useful feature!!
Previous
Reply
Map
View

Click here to load this message in the networking platform