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

tmsedatamodule

[Properties (by Name)] [Methods (by Name)]

Following MSEgui's "orthogonal" design principle

Declaration

Source position: msedatamodules.pas line 34

type tmsedatamodule = class(tactcomponent)

public

  constructor create();

  destructor destroy; override;

  procedure afterconstruction; override;

  procedure reload;

  function hasparent; override;

  function getparentcomponent; override;

  procedure beforedestruction; override;

  procedure freeinstance; override;

  property size: sizety; [rw]

published

  property activatortarget: tactivator; [rw]

  property options: datamoduleoptionsty; [rw]

  property bounds_x: Integer; [rws]

  property bounds_y: Integer; [rws]

  property bounds_cx: Integer; [rw]

  property bounds_cy: Integer; [rw]

  property statfile: tstatfile; [rw]

  property oncreate: notifyeventty; [rw]

  property oncreated: notifyeventty; [rw]

  property onloaded: notifyeventty; [rw]

  property oneventloopstart: notifyeventty; [rw]

  property ondestroy: notifyeventty; [rw]

  property ondestroyed: notifyeventty; [rw]

  property onevent: eventeventty; [rw]

  property onasyncevent: asynceventeventty; [rw]

  property onterminatequery: terminatequeryeventty; [rw]

  property onterminated: notifyeventty; [rw]

  property onidle: idleeventty; [rw]

  property onapplicationevent: applicationeventeventty; [rw]

end;

Inheritance

tmsedatamodule

  

Following MSEgui's "orthogonal" design principle

|

tactcomponent

|

tmsecomponent,iactivatorclient

  

Extends the FPC tcomponent with object linking facilities and the like; base of every MSEgui component

|

tcomponent,ievent,iificommand,iificlient

|

tpersistent

|

TObject

Description

Following MSEgui's "orthogonal" design principle: unlike Delphi's non-visual TDataModule, a MSEgui datamodule can also contain twidget descendants, since there is no fundamental reason to forbid it. Compared to a plain component container it adds onasyncevent, onloaded, ondestroyed and the statfile property.


Documentation generated on: 2026-10-03