Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When a form won't release
Message
De
16/11/2010 05:08:08
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Divers
Thread ID:
01489179
Message ID:
01489187
Vues:
70
>What's the best way to troubleshoot a form object not releasing?
>
>It is a class based form which I have a variable reference to. Var.Release() or var = .NULL. aren't releasing the form.
>
>It seems to point to the fact that something else has a reference to the form but I can't find anything that should/does has a reference.
>
>Any help in tracking this down would be appreciated.

Another possible reason may be the private datasession having an alias with uncommitted changes. Try to add a loop which would go through all open aliases and, after tablerevert()ing each, explicitly closing it. Form.unload() is probably a good place to do that.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform