Skip to content

TDataModule.OldCreateOrder

Determines when OnCreate and OnDestroy are triggered.

Declaration

Source position: classesh.inc line 2919

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.OnDestroy Event handler, called when the datamodule is destroyed.
TDataModule.OnCreate Event handler, called when the datamodule is created.
TDataModule.Destroy Destroys the TDataModule instance.
TDataModule.Create Create a new instance of a TDataModule.
TDataModule.CreateNew
TDataModule.OldCreateOrder Determines when OnCreate and OnDestroy are triggered.