The problem is that I need to do that when the object is Destroyed, independent of the form it is on. The control is designed for multiple use in different settings. I'd like to have it autonomously destroy itself. But it doesn't. the code in it's destroy() method never gets called when the form terminates
>Tim, can you NULL the references in appropriate customControl.object and issue customControl.RemoveObject() from the form method before releasing the form, or I still don't understand what you are trying to do? :)
Précédent
Suivant
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