Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Destroy and UnLoad Event
Message
From
06/06/2003 12:49:23
 
 
To
06/06/2003 12:21:31
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00797312
Message ID:
00797339
Views:
17
This message has been marked as the solution to the initial question of the thread.
Pedro,

For example, you might have a control where you to save its value to a table when the form closes, so it can be used as a default value to be loaded in the init() of that same control the next time. You could do this in the destroy() of the control.

Some things you should do in the form's unload(), rather than destroy(). Closing tables is an example (if the form has a private datasession, this is taken care of for you). Also, if it is a modal form returning a value, that is done in unload().




>Thanks Steve
>
>I understand .
>But now i want learn more .
>
>I never used destroy event of one object , i only use destroy of form .
>
>Can you , or other person , give me one example , where we may use destroy of one object that is in one form .
>
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform