Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to release a form
Message
De
21/09/2009 08:26:47
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01425336
Message ID:
01425418
Vues:
68
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform