Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Destroy or Unload?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01247015
Message ID:
01247253
Vues:
31
I use Destroy to release object references, and I use Unload to close data. Since the controls have
already been destroyed, then the data should be ok to close at this point.




>>>Nothing in particular. I'm just curious as to why one should be used instead of the other. To me it looks like those two seem to serve the same purposes. I'm just hoping that someone will clarify this for me.
>>
>>Form's Destroy fires before Destroy of controls on the form. Unload fires after all controls are gone.
>
>Thank you for that clarification Sergey.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform