Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to remove a container from a form
Message
 
À
31/07/2000 00:47:02
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00398670
Message ID:
00398698
Vues:
12
>Would that be RemoveObject first, then destroy? Does that safely get rid of everything so I don't have "dangling object references?"

Cindy,

You can call the destroy all day long and it won't do anything. Destroy does NOT destroy an object, it is an event that fires while the object is being destroyed. IOW, if an object gets destroyed its destroy event will fire. Calling a destroy event does NOT destroy the object, it just runs the code in the event.

To get rid of the container call the RemoveObject of its parent container (in your case the Page).
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform