>I have a form with a custom textbox on it. This textbox creates a child textbox on init and stores an object reference to that child in it's "objref" property. So, objref is now of type 'O'. I can't release the form. Why? Is this because the child textbox is being destroyed first, but it has a reference in the parent textbox so it won't properly release? If so, what would be the proper way to get these two released?
>
>Michael G. Emmons
Try oRef = NULL in your .Destroy method. That might clear the reference so that your form will destroy.
Steve Despres
EZ Data Inc.
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