Unit 'MUIClass.Base' Package
[Overview][Types][Classes][Procedures and functions][Variables][Index] [#MUIClass]


Event called when an Exception happend


Source position: MUIClass.Base.pas line 261

published property TMUIApplication.OnException : TExceptionEvent
  read FOnException
  write FOnException;


Handle the Exception for yourself, you can show a warn message or put to debugout, or even kill the application with MUIApp.Terminate.

if this event is not connected it will show the exception as warn message and ask the user if ignore it, or end the program.

Note: Exceptions catched in the program code via try ... except ... end; will not trigger this event. (unless the program calls DoException() inside the except block.

See also



Call when a Exception appears to show a MessageBox

Documentation generated on: 2023-12-08