Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Event
Message
De
10/03/2000 12:35:55
 
 
À
10/03/2000 11:18:02
Randy Riegel
Zimish Contracting
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00344241
Message ID:
00344293
Vues:
19
Do you have a ON SHUTDOWN active? Do you return false from the QueryUnload() event of the form?
>I have code in the error event of an object. I would like to display an error message and then force the program to quit. After I display the error message (using MessageBox) I have the QUIT command. The program does not quit. Instead it starts processing the code after the error occured. Here is the code I have:
>
>
>MESSAGEBOX("cmdSave" + chr(13) + "Error : " + message() + chr(13) + ;
> "Method : " + cMethod + chr(13) + ;
> "Line # : " + alltrim(str(nLine)), 16, "Fatal Error")
>QUIT
>
>I even tried using CLEAR EVENTS rather than QUIT but still didn't work... I'm stumped.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform