Skip to content

TCustomApplication.SingleInstance

Single instance used to control single application instance behaviour.

Declaration

Source position: custapp.pp line 120

public property SingleInstance: TBaseSingleInstance;

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

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