I don't understand the question entirely, but if you're after a way of handling error, particularly unhandled ones nicely, then you want Structured Error Handling.
This presentation is old, but gives a good starting point: https://pugchallenge.org/downloads2015/272_Strucutred_Error_Handling.pdf
I don't think that there is any event specific to what you are describing.
You might be able to find something (or a combination of 12 different things) deep in the bowels of Microsoft's APIs but I would be very surprised if the 4gl has anything that is going to satisfy this request.
Perhaps it would be helpful if you explained why you want this capability?
I definitely think structured error handling is the way to go. You would throw the errors from UI.p and catch them in main.p and handle them there. It might not be exactly what you want, but it's the essence of how structured error handling works.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.