TDataModule.BeforeDestruction

Declaration

Source position: classesh.inc line 2313

public 
  procedure 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.