Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Thisform.release
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00040029
Message ID:
00040333
Vues:
34
>If you are holding object references like this you are responsibile for cleaning them up. One way to do this is to recurse through all of the controls in the form iside the form's release and call a cleanup method (that you created for teh contrl) that will .NULL. any object reference properties before the normal action of the form's release tries to blow the controls away.

Jim, do you have any ideas about what to do when the form blows up and has to be cancelled. THe usual cleanup code doesn't run, and I haven't figured out how to get that reference out of memory. This has been an ongoing problem during development, and even when I KNOW the object reference, I can't set it to .NULL. from the command line.

Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform