Hi Andy, > can I safely assume that it will remove all contained objects, object refs etc.
Nope. If there are dangling references, RemoveObject won't reliably remove them. Hence, you need to clear all references pointing to the object or on of its contained objects, as well as all references pointing from one of these objects to other objects, before you call DODEFAULT() in the RemoveObject method. If you don't have any code in RemoveObject(), you need to clear all references before you call the RemoveObject method. Furthermore, if the object, that you are about to remove, is in the calling stack, VFP will crash under some circumstances. -- Christof _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

