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

# CustomApplication

Global application instance

## Declaration

Source position: custapp.pp line 109

`var 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

TCustomApplication |  | Ancestor class for TApplication classes.

Documentation generated on: May 14 2021