Sign in Join
FPDoc Onlineexperiment

TDataModule.CreateNew constructor

Member of TDataModulepublicIn unit Classes

Declaration

pascal
constructor CreateNew(AOwner: TComponent)
constructor CreateNew(AOwner: TComponent; CreateMode: Integer); virtual

Description

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.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.