Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement