Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RemoveObject in Init
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00480229
Message ID:
00480476
Vues:
12
Barbara:

>No explanation, Daniel, but is there a reason for using RemoveObject? I find it's usually simpler to make unwanted objects "MyObj.visible = .f." instead. This works even when you want to get rid of an object on a subclassed form/container/etc.

The objects are removed because they can't be exposed if the user (which can be another application) does not have sufficient rights to these objects. Making them invisible would allow the user to find them with AMEMBERS().


> Do you have trouble closing the form with your leftover object?

No. The besic scenario is very simple and does leave any dangling object reference.

Thanks,
Daniel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform