General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only