Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RemoveObject in Init
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00480229
Message ID:
00480476
Views:
10
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
Map
View

Click here to load this message in the networking platform