Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I release objects faster ?
Message
From
10/05/1999 19:57:30
 
 
To
10/05/1999 19:23:38
Roberto Sanhueza
Fundes Consultoria Internacional
Santiago, Chile
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00216976
Message ID:
00216988
Views:
34
Here's what I would try (I don't know if it's faster):

Add a container to your already existing container. Add all the objects (those more 1000...) to this second container. When you need to clear everything, remove the inner container (it will take care of all its objects automatically) and recreate it.

It may be faster because VFP will remove internally all the objects (when you remove the inner container).

Vlad

>I has a lot of shape and line objects (more than 1000) in a container.. Then, sometimes i need clear the container..to draw another figure, so i perform a RemoveObject Method of container... this works but is very slow..
>
>The question is : There is another way to releas these objects faster ?
>
>thanx
Previous
Reply
Map
View

Click here to load this message in the networking platform