Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I release objects faster ?
Message
De
10/05/1999 19:57:30
 
 
À
10/05/1999 19:23:38
Roberto Sanhueza
Fundes Consultoria Internacional
Santiago, Chili
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00216976
Message ID:
00216988
Vues:
35
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
Fil
Voir

Click here to load this message in the networking platform