Sign in Join
FPDoc Onlineexperiment

TCtrlBreakHandler procedure type

In unit System

CTRL-C Handler prototype.

Declaration

pascal
TCtrlBreakHandler = function(CtrlBreak: Boolean): Boolean

Description

TCtrlBreakHandler is the prototype for the CTRL-C handler. If CtrlBreak is True then Ctrl-Break was hit, otherwise CTRL-C was hit. The handlers should return True to signal that the key-combination was handled. If False is returned, then default handling will be used, which by default means an exception will be raised if the sysutils unit is used.

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