Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I check if a form is open (ie not released)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00692902
Message ID:
00693361
Vues:
26
>Jim
>
>By the way, running this code after I have attempted to release the form shows thw marketing form still open.
>
>Colin

Colin,

It really sounds like this is a situation of a hanging object reference refusing to let the form go away.

For example, take a from with two textboxes and TextBox1 has a property named OtherTxtBx that is an object reference to TextBox2, then when you try to ThisForm.Release() the form will appear to go away but the actual form object will remain because textbox2 cannot go away as long as textbox1 has a reference to it. You need to be very carefull when you have objects holding references to other objects to be sure that you clean them up, otherwise you can find all kinds of problems with object releasing.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform