Sign in Join
FPDoc Onlineexperiment

TCustomControlCodeEvent procedure type

In unit DaemonApp

Prototype for event to handle a custom control code.

Declaration

pascal
TCustomControlCodeEvent = procedure(Sender: TCustomDaemon; 
 ACode: DWord; var Handled: Boolean)
 of object

Arguments

Sender

Daemon instance for which the control event was meant.

ACode

Control code being sent to the daemon.

Handled

Was the control code handled ?

Description

In case the system sends a non-standard control code to the daemon, an event handler is executed with this prototype.

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