Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Undestroyed objects in forms
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00086484
Message ID:
00086491
Views:
36
>I would be interested in knowing the answer to this question: Which objects in the base class library do not get destroyed properly when you close a form? I spent this weekend looking at a problem on a form which wasn't running its Unload() method when you closed the form from the Close Box. It turned out that two label objects and two other objects on a page frame were not being destroyed when the form closed, thus preventing Unload() from firing. When I forced the destroy within the destroy method of the page, it worked fine. (The two other objects were child classes of the base class TextBox.)
>
>Ed

Ed,

Which version of VFP are you using? If you type ?VERSION(1) you will get eh build number burried about three ro four decimals out mine is 0415, which is the VS SP3 patch.

The only time I have seen objects not get released is when there are errant references that I have failed to clear left around.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform