[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Source position: classesh.inc line 2032
public constructor TDataModule.CreateNew( |
AOwner: TComponent |
); |
AOwner: TComponent; |
CreateMode: Integer |
); virtual; |
CreateNew creates a new instance of the class, but bypasses the streaming mechanism. The CreateMode parameter (by default zero) is not used in TDataModule. If the AddDataModule handler is set, then it is called, with the newly created instance as an argument.
|
Create a new instance of a TDataModule. |
|
|
Handler called when a new TDataModule instance is created. |
|
|
Event handler, called when the datamodule is created. |