Registers reference (an instance of instanceclass) as the application's datamodule, which allows other modules to link with its components
Source position: mseapplication.pas line 328
public function tcustomapplication.createdatamodule( |
instanceclass: msecomponentclassty; |
var reference |
Registers reference (an instance of instanceclass) as the application's datamodule, which allows other modules to link with its components. Use it instead of a plain instanceclass.create(nil) call, typically before createform for the main form.