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:
00030180
Vues:
38
>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
Fil
Voir

Click here to load this message in the networking platform