Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Releasing form while references to contols exist
Message
De
26/06/1998 16:59:47
 
 
À
26/06/1998 16:47:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00112066
Message ID:
00112080
Vues:
39
>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
Fil
Voir

Click here to load this message in the networking platform