Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error handling
Message
De
01/08/2018 11:51:05
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Error handling
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows Server 2012
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01661403
Message ID:
01661403
Vues:
124
Hi how are you, I need your help, I'm trying to capture the uncontrolled errors of my application, at the level of the captures forms and I send to close the screen without problems, but when it is at the class level (I have a main class) capture the errors but the form does not close
lparameters nerror, cmethod, nline
vmatxr=aerror(_matrixz)
thisform.megaclase1.mensajes2('se ha producido un error inesperado en el sistema!!!'+CHR(13)+'error.............:('+alltrim(_matrixz(2))+')'+chr(13)+'METODO............:'+alltrim(cmethod)+CHR(13)+'linea con error...:'+alltrim(str(nline))+chr(13)+'esta pantalla se cerrará, favor notificar al departamento de sistema, gracias',1)
thisform.release
return 0
thisform.refresh
Jose Manuel Ramirez
Répondre
Fil
Voir

Click here to load this message in the networking platform