Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why doesn't the container's Destroy method fire?
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00390808
Message ID:
00390974
Views:
10
Larry,

There is another object that has a reference to the Container object located within the Form.

I was really not wanting to put code in to loop through all of the objects. Especially since I wanted this control to be quickly and easily dropped onto a Form. I have just within the Form's Destroy put in code to release the particular Container object calling it's Detach() method and that works. I just was trying to make something would be fast and not have to look at all of the objects.

Thanks for the help! I'll maybe rethink how to update the controls by actually send the object a reference to the control and then grabbing the name of the control and the form itself and then call the object explicitly rather than using an object reference. (Light Bulb) That may work better. What do you think?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform