Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining Object References and Closing
Message
De
03/10/2001 08:58:24
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
03/10/2001 08:40:51
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00563520
Message ID:
00563531
Vues:
25
>I'm trying to tighten-up a couple applications and want to know if there is a way to cycle through all the existing object references so they can be set to NULL before shutdown? Thanks!
>
>Regards, Renoir

To check if a property is an object reference, you can use something like type("ThisForm.oProperty") = "O". To cycle through, perhaps you can use amembers() and recursion.

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform