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

TMUIApplication.OnException

Event called when an Exception happend

Declaration

Source position: MUIClass.Base.pas line 281

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

Description

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

DoException()

  

Call when a Exception appears to show a MessageBox


Documentation generated on: 2024-03-28