Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help needed - form won't release
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00693076
Message ID:
00693090
Vues:
27
Colin,

Is it possible that this is a second instance of the same form? If so unless you are using the LINKED option you don't have access to a memvar that holds the reference to the form. For example

do form xyz && now a memvar xyz exists, move the form
do form xyz && second form starts, but no new memvar is created
xyz,Release() && the second form goes away, first form is still there

It's more typical to use the _screen.Forms[] collection to release forms enmasse.
for i = _screen.FormCount to 1 step -1
   if ( _screen.Forms[i].QueryUnload() )
      _screen.Forms[i].Release()
   endif
endfor
>I have just noticed that the object cannot be found - but when I look at the list of open windows the form is there.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform