Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Network:
Windows 2008 Server
>>>The formclass I recently developed can have as much as over 1800 objects. What strikes me is that it builds the form in a snap, but it requires almost a minute to 'destroy'.
>>>
>>>There's no special, time consuming, code in any Destroy(). And only some have some code in their QueryUnload() or Release().
>>>
>>>Who knows of any trick to speed up the destruction of the form?
>>>
>>>Perhaps it's the fact that a subset of those objects have properties that refer to other objects? Hmm, I'll gonna try this out.
>>
>>Why you destroy all objects of form? Why don't you just release form?
>
>Releasing a form destroys all the objects on that form. The issue here is that doing so takes too long.
>
>Tamar
I know but, I just thought he wanted destroy manually and he reveals manually destroy is too slow.
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