help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Types][Classes] Reference for unit 'CustApp' (#fcl)

TCustomApplication.Run

Runs the application.

Declaration

Source position: CustApp.pp line 51

public procedure TCustomApplication.Run;

Description

Run is the start of the user code: when called, it starts a loop and repeatedly calls DoRun until Terminated is set to True . If an exception is raised during the execution of DoRun , it is caught and handled to TCustomApplication.HandleException . If TCustomApplication.StopOnException is set to True (which is not the default), Run will exit, and the application will then terminate. The default is to call DoRun again, which is useful for applications running a message loop such as services and GUI applications.

See also

TCustomApplication.HandleException

  

Handle an exception.

TCustomApplication.StopException

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505