Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forms not releasing
Message
De
01/09/1998 20:37:40
 
 
À
01/09/1998 18:53:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00132131
Message ID:
00132155
Vues:
15
>I have a modeless form with buttons that launch other forms (also modeless). Each child form has a custom property that links it to the parent form. When the parent is closed (by clicking the X) the Destroy code loops backwards through the forms collection array and checks each form for the property linking it to the parent. If found it executes _screen.forms[lnCount].Release().
>
>In development mode, everything works just fine. However, when running the .EXE, if more than one child form is launched, when I attempt to close the parent, the X greys out and nothing is released.
>I've determined that QueryUnload is being called but not the parent form's Destroy(). I've checked for object references that may not have been cleared but have found none. I'm at a loss to explain this. Any ideas?
>
>TIA

There isn't a grid on your parent form by chance??
Several members have had probs releasing forms with grids. You've got to look out for form objects that contain other objects since these will prevent the release as well,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform