Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number of Images displayed limit...
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00712526
Message ID:
00712766
Views:
10
Hi!

No way, indeed. Just release them after you specify new image for image control to display. Older images should get out of memory.

I did this once also for grid control displayed arge number of images (different image for different grid row). I had to purge memory as grid scrolls...

>Vlad,
>
>How can I tell if the resources are being releases correctly?
>
>I have a screen that changes image when the user presses the Next or Previous button, is there a way to check that I'm releasing the recourse at the correct point?
>
>Thanks
>Caroline
>
>>Hi!
>>
>>They load automatically and remain cached. You should clear memory from cached images and buffers time to time to clear out resources, so they would never reach limits of VFP deep internals. CLEAR RESOURCES command and sys(1104) function proposed by Al Doman is exactly what you should try. Use them at the fom Destroy event.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform