>Here is my problem - I have a custom control that contains an array of object references, grouping the contained visible objects in a logical order.
>
>When my form does a destroy() - it destroy's itself but hangs there. my control's destroy() has code to NULL these references out, but it never gets called.
>
>Is there a way, (short of coding EVERY container object to destroy its contents first) to hold object references without hanging the form?
>
>
>Please helP!
>Tim
Tim, do I get it right, that you want your custom control to keep the references to some objects (other than in form you are destroying) after your form is destroyed? In this case do you just NULL the array elements pointing to that particular form objects?
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison