[Overview][Constants][Classes][Procedures and functions][Index] | Reference for unit 'ExtDlgs' (#lcl)

# TCalculatorDialog.OnCalcKey

OnCalcKey - event handler for a key press in the calculator.

## Declaration

Source position: extdlgs.pas line 180

`published property TCalculatorDialog.OnCalcKey : TKeyPressEvent read FOnCalcKey write FOnCalcKey;`

## Description

OnCalcKey is a TKeyPressEvent property used as the event handler for key press events in the calculator dialog form. OnCalcKey is signalled from the CalcKey method which is assigned as the OnCalcKey event handler in DlgForm.

Applications must implement an object procedure using the signature in TKeyPressEvent to respond to the event notification.

## See also

TCalculatorDialog.CalcKey |  | Implements the event handler signalled to process keys in the dialog.
TCalculatorForm.OnCalcKey |  | Event handler signalled to handle keys press on the calculator form.
TKeyPressEvent |  | Specifies an event handler for key press events.