Sign in Join
FPDoc Onlineexperiment

TObject.BeforeDestruction procedure

Member of TObjectpublicIn unit System

Method called before the destructor is called.

Declaration

pascal
procedure BeforeDestruction; virtual

Description

BeforeDestruction is a method called before the destructor is called. It does nothing in the implementation of TObject and must be overridden by descendent classes to provide specific behaviour that is executed before the destructor has finished executing. (for instance, call an event handler)

Errors

None.

See also

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