Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Thisform.release won't release form?
Message
 
To
12/01/2007 02:00:42
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01184111
Message ID:
01185142
Views:
20
>This is the first time I've encountered this. First time that I have an ole control in my form. Could it be becoz of the ole? I have a treeview.
>
>Now, I'm really lost as to what properties I should set to .null. How can I trace this?

You cannot trace it as no error occurs and the problem is iside of VFP not your code. VFP cannot release the form because the form is holding a reference to another object. This is not involved with any controls on the form but rather anyplace you have done;
Thsiform.Someproperty = Createobject(...)
You must clear out those properties with;
thisform.someproperty = NULL
If you created the object in your code you must clear the object with your code.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform