Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Terminate program in case of error
Message
De
26/02/2007 10:37:32
 
 
À
26/02/2007 10:34:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01198783
Message ID:
01198785
Vues:
7
>I am runnig my program using an executable.
>In the Error method of my class I have the following:
>
>DODEFAULT(nError, cMethod, nLine)
>=MESSAGEBOX('Error')
>CLEAR EVENTS
>
>in my main program I have:
>
>....
>
>CLEAR ALL
>
>when en error occurs the program shows messagebox but does not stop running. What am I doing wrong?
>
>Thanks

You should also close open forms, especially if some of them are modal.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform