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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement