[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'System' (#rtl)

TCtrlBreakHandler

CTRL-C Handler prototype

Declaration

Source position: systemh.inc line 429

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.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.