Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form.Destroy()
Message
 
To
04/05/1998 17:53:28
Tim Hockin
Illinois State U - Residential Computing
Normal, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00096885
Message ID:
00096904
Views:
17
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform