TDataModule.OnDestroy
Event handler, called when the datamodule is destroyed.
Declaration
Source position: classesh.inc line 2319
published Property
OnDestroy : TNotifyEvent;
Description
The OnDestroy event is triggered when the datamodule is destroyed The exact moment of triggering is dependent on the value of the OldCreateOrder property.
See also
Name | Description |
---|---|
TDataModule.Create | Create a new instance of a TDataModule. |
TDataModule.CreateNew | |
TDataModule.Destroy | Destroys the TDataModule instance. |
TDataModule.OldCreateOrder | Determines when OnCreate and OnDestroy are triggered. |
TDataModule.OnCreate | Event handler, called when the datamodule is created. |
TNotifyEvent | Standard event handler type. |