| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Source position: classesh.inc line 2158
| public procedure TDataModule.BeforeDestruction; override; | 
BeforeDestruction calls the OnDestroy handler if the OldCreateOrder property is False.
| 
 | Determines when OnCreate and OnDestroy are triggered. | |
| 
 | Event handler, called when the datamodule is destroyed. |