Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form won't release because of object reference?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00030164
Message ID:
00030182
Vues:
41
As a matter of fact, I tried just that. But no go. I've gotten it to work by using name referencing instead of object referencing, but it is a poor kludge; macro substitution is ugly. I'm still looking for the proper way to fix this :(.

Michael.

>>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.

Michael G. Emmons
memmons@nc.rr.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform