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

# TCustomApplication.SingleInstance

Single instance used to control single application instance behaviour

## Declaration

Source position: custapp.pp line 104

`public property TCustomApplication.SingleInstance : TBaseSingleInstance read GetSingleInstance;`

## Description

SingleInstance is used when TCustomApplication.SingleInstanceEnabled is set to True. It can be used to send a message to an already running instance, or to check for messages if the current instance is the sole ("server") instance running.

## See also

TCustomApplication.SingleInstanceClass |  | Class to use when creating single instance
TCustomApplication.SingleInstanceEnabled |  | Enable single application instance control.

Documentation generated on: May 14 2021