Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Destroy or Unload?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01247015
Message ID:
01247253
Views:
30
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
Previous
Reply
Map
View

Click here to load this message in the networking platform