Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form won't release because of object reference?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00030164
Message ID:
00030180
Views:
40
>I have a form with a custom textbox on it. This textbox creates a child textbox on init and stores an object reference to that child in it's "objref" property. So, objref is now of type 'O'. I can't release the form. Why? Is this because the child textbox is being destroyed first, but it has a reference in the parent textbox so it won't properly release? If so, what would be the proper way to get these two released?
>
>Michael G. Emmons

Try oRef = NULL in your .Destroy method. That might clear the reference so that your form will destroy.

Steve Despres
EZ Data Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform