Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error handling
Message
De
25/11/1998 02:58:44
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Error handling
Divers
Thread ID:
00161252
Message ID:
00161252
Vues:
62
Hi.
I have a problem of closing of the forms in the application.
When there is an error the procedure "onerror" registers it... Brings in dbf.. And after that it is necessary to close all forms in the application, but NOT QUIT the application...

My code
LOCAL i
FOR i = 1 TO _screen. Formcount
IF _screen.forms (i) .BaseClass = " Form"
_screen.forms (i) .release ()
ENDIF
ENDFOR

BUT!!!!... I use DEBUGRER. After execution of the given code I see again call to a method "RESIZE" of the form called an error, after that, I come back in the procedure which has called an error... That after _screen.forms (i).release () almost each line of the code produces errors... Alias not found etc...
How to make so that in forms were fulfilled no one of its methods, and at once to proceed to READ EVENTS?
If there is a solution.. Prompt where to look it ...
Thank.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform