TDataModule.OldCreateOrder
Determines when OnCreate and OnDestroy are triggered.
Declaration
Source position: classesh.inc line 2320
published Property
OldCreateOrder : Boolean;
Description
OldCreateOrder determines when exactly the OnCreate and OnDestroy event handlers are called.
If set to True, then the OnCreate event handler is called after the data module was streamed. If it is set to False, then the handler is called prior to the streaming process.
If set to True, then the OnDestroy event handler is called before the data module is removed from the streaming system. If it is set to False, then the handler is called after the data module was removed from the streaming process.
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. |
TDataModule.OnDestroy | Event handler, called when the datamodule is destroyed. |