Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DISPLAYING NEW BMP INSTEAD OF OLD
Message
From
02/07/1998 06:06:12
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00113292
Message ID:
00113709
Views:
20
>As of version 5.0, a new clause was added to the CLEAR Command. The clause is called RESOURCES.
>
>For example, lets say I have an image on a form that points to a specific BMP file that has changed. If I run the form, I could use this code in the command window to demonstrate how things work.
>
>oldpict = form.image1.picture
>form.image1.picture = "" && resource cannot be in use
>Clear Resources oldpict
>form.image1.picture = oldpict && you should see the changed bitmap
>
>
>
>
>
>
>>If I display a .bmp in FoxPro and then change it (rescan w/ different settings) and display it again - FoxPro keeps the old image in memory and will not show the new file.
>>
>>Short of using new names or restarting FoxPro is there away to flush out the old and redisplay the new image?

Thanks.
Ernest
Previous
Reply
Map
View

Click here to load this message in the networking platform