Create a new instance of a TDataModule.
Source position: classesh.inc line 2745
public constructor TDataModule.Create( |
AOwner: TComponent |
); override; |
Create creates a new instance of the TDatamodule and calls TDatamodule.CreateNew. After that it reads the published properties from a stream using InitInheritedComponent if a descendant class is instantiated. If the OldCreateOrder property is True, the TDataModule.OnCreate event is called.
An exception can be raised during the streaming operation.
|