[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Destroys the TDataModuleinstance.
Source position: classesh.inc line 1521
public destructor TDataModule.Destroy; override; |
Destroydestroys the TDataModuleinstance. If the OldCreateOrderproperty is Truethe OnDestroyevent handler is called prior to destroying the data module.
Before calling the inherited destroy, the RemoveDataModulehandler is called if it is set, and Selfis passed as a parameter.
An event can be raised during the OnDestroyevent handler.
|
Event handler, called when the datamodule is destroyed. |
|
|
Handler called when a TDataModuleinstance is freed. |