General information
Category:
Forms & Form designer
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only