Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement