Sign in Join
FPDoc Onlineexperiment

TDataModule.Destroy destructor

Member of TDataModulepublicIn unit Classes

Destroys the TDataModule instance.

Declaration

pascal
destructor Destroy; override

Description

Destroy destroys the TDataModule instance. If the OldCreateOrder property is True the OnDestroy event handler is called prior to destroying the data module.

Before calling the inherited destroy, the RemoveDataModule handler is called if it is set, and Self is passed as a parameter.

Errors

An event can be raised during the OnDestroy event handler.

See also

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