Sign in Join
FPDoc Onlineexperiment

CustomApplication variable

In unit CustApp

Global application instance.

Declaration

pascal
CustomApplication: TCustomApplication = Nil

Description

CustomApplication contains the global application instance. All descendents of TCustomApplication should, in addition to storing an instance pointer in some variable (most likely called "Application") store the instance pointer in this variable. This ensures that, whatever kind of application is being created, user code can access the application object.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.