Sign in Join
FPDoc Onlineexperiment

TCustomApplication.OnException property

Member of TCustomApplicationpublicIn unit CustApp

Exception handling event.

Declaration

pascal
property OnException: TExceptionEvent read FOnException write FOnException;

Description

OnException can be set to provide custom handling of exceptions, instead of the default action, which is simply to show the exception using ShowException.

If the event is set, then it is called by the HandleException routine. Do not use the OnException event directly, instead call HandleException.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.