Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to release a form
Message
From
21/09/2009 08:26:47
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01425336
Message ID:
01425418
Views:
70
>Here is conceptually what the form does. When the form is opened it processes some data received from an outside source; one record at a time. When all "new" data has been processed, the user gets the message "No More Data to Process" and when he/she clicks on Ok button, the form is released. Therefore, there is a need to release the form after the messagebox. So why is it "so brutal"?
>
>>It cannot reales at that point because code is still executes in its method. Add RETURN to exit the method.
>>I'm curious what kind of form is it that you terminate is so brutally?

Dmitry,

What I do in that case is call the methods from the form's init. After that, I return FALSE from the form's init.
So, I do not have to release the form, since it wasn't "created" ...
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform