Unit 'mseapplication' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#msegui]

tcustomapplication.createdatamodule

Registers reference (an instance of instanceclass) as the application's datamodule, which allows other modules to link with its components

Declaration

Source position: mseapplication.pas line 328

public function tcustomapplication.createdatamodule(

  instanceclass: msecomponentclassty;

  var reference

):tmsecomponent;

Description

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.


Documentation generated on: 2026-10-03