Skip to content

TDataModule.BeforeDestruction

Declaration

Source position: classesh.inc line 2916

public 
procedure TDataModule.BeforeDestruction;  override;

Description

BeforeDestruction calls the OnDestroy handler if the OldCreateOrder property is False.

See also

Name Description
TDataModule.OldCreateOrder Determines when OnCreate and OnDestroy are triggered.
TDataModule.OnDestroy Event handler, called when the datamodule is destroyed.