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:
00030182
Views:
43
As a matter of fact, I tried just that. But no go. I've gotten it to work by using name referencing instead of object referencing, but it is a poor kludge; macro substitution is ugly. I'm still looking for the proper way to fix this :(.

Michael.

>>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.

Michael G. Emmons
memmons@nc.rr.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform