TCtrlBreakHandler

CTRL-C Handler prototype

Declaration

Source position: systemh.inc line 747

Type
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.