Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dealing with dangling reference
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01539074
Message ID:
01539228
Vues:
53
>>
>>FOR EACH oForm in Application.Forms
>>   IF TYPE("oForm.name") = "C"
>>      oForm.Release()
>>   ENDIF
>>ENDFOR
>>
>
>I didn't try using type("oForm.name"); could have been the solution. But I change it completely. Thank you; I will remember this for the next time.

The oForm.Name is just checking to see that the form object is actually there before trying to release it.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform