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

tcustomapplication

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

Declaration

Source position: mseapplication.pas line 253

type tcustomapplication = class(tmsecomponent)

public

  constructor create(); override;

  destructor destroy; override;

  procedure beforedestruction; override;

  procedure initialize;

  procedure deinitialize;

  procedure beginhighrestimer;

  procedure endhighrestimer;

  property highrestimer: Boolean; [r]

  function procid;

  function getserial;

  function createdatamodule();

  

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

  procedure run;

  function running;

  procedure processmessages; virtual;

  function idle; virtual;

  function modallevel; virtual; abstract;

  property applicationname: msestring; [rw]

  procedure postevent();

  function checkoverload();

  procedure handleexception();

  procedure showexception(); virtual; abstract;

  procedure errormessage(); virtual; abstract;

  procedure registeronterminated();

  procedure unregisteronterminated();

  procedure registeronterminate();

  procedure unregisteronterminate();

  procedure registeronidle();

  procedure unregisteronidle();

  procedure registerapplicationeventhandler();

  procedure unregisterapplicationeventhandler();

  procedure settimer(); virtual;

  function islockedthread;

  function islockedmainthread;

  function trylock;

  function lock;

  function unlock;

  function unlockall; virtual;

  procedure relockall(); virtual;

  procedure lockifnotmainthread;

  procedure unlockifnotmainthread;

  function synchronize();

  procedure queueasynccall();

  procedure releaseobject();

  function ismainthread;

  function islockthread;

  procedure waitforthread();

  function semwait();

  procedure wakeupmainthread;

  procedure langchanged; virtual;

  procedure beginwait(); virtual;

  procedure endwait; virtual;

  function waitescaped; virtual;

  procedure idlesleep();

  function candefocus(); virtual;

  property terminated: Boolean; [rw]

  

Setting terminated to True does not abort program execution immediately: the main event loop is terminated on its next turn

  property mainthread: threadty; [r]

  property lockthread: threadty; [r]

  property lockcount: Integer; [r]

  property exceptioncount: Integer; [r]

  property options: applicationoptionsty; [rw]

  property onexception: exceptioneventty; [rw]

end;

Inheritance

tcustomapplication

|

tmsecomponent

  

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

|

tcomponent,ievent,iificommand,iificlient

|

tpersistent

|

TObject


Documentation generated on: 2026-10-03