[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

TApplicationProperties.OnException

Event handler signalled to handle an exception in an application.

Declaration

Source position: forms.pp line 1881

published property TApplicationProperties.OnException : TExceptionEvent
  read FOnException
  write SetOnException;

Description

OnException is a TExceptionEvent property with an event handler signalled to handle an exception in an application. Its value is assigned to the OnException property in the Application singleton at run-time.

Changing the value for the property at run-time causes the Application singleton to be updated.

See also

Application

  

The TApplication singleton.

TApplication.HandleException

  

HandleException method for handling an exception; attempts to maintain program execution if possible, otherwise exits gracefully.

TCustomApplication.OnException


Version 4.0 Generated 2025-05-03 Home