Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Releasing form while references to contols exist
Message
From
26/06/1998 16:59:47
 
 
To
26/06/1998 16:47:38
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00112066
Message ID:
00112080
Views:
41
>Actually, I meant Form.Destroy event. Maybe i just misunderstood your problem.

The Form.Destroy is being called. But I think (I'm guessing), that it iterates through all the controls on the form destroying each one. I think it must be trying to destroy the list box, but failing because there is an external reference to the list box (I'm assuming VFP keeps reference counts).

If the list box header destroy was called before the list box destroy, then things would work.

In any case, I think I'm going to create a class consisting of a container with my list header and list box both in it. I bet that'll solve the problem.

Bob
Previous
Reply
Map
View

Click here to load this message in the networking platform