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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only