[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

TDataModule.BeforeDestruction

Declaration

Source position: classesh.inc line 1523

public procedure TDataModule.BeforeDestruction; override;

Description

BeforeDestructioncalls the OnDestroyhandler if the OldCreateOrderproperty is False.

See also

TDataModule.OldCreateOrder

  

Determines when OnCreateand OnDestroyare triggered.

TDataModule.OnDestroy

  

Event handler, called when the datamodule is destroyed.