Unit 'CalcForm' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TCalculatorPanel.CalcKeyPress

Locates the button using the specified Key and perform its Click method.

Declaration

Source position: calcform.pas line 79

public procedure TCalculatorPanel.CalcKeyPress(

  Sender: TObject;

  var Key: Char

);

Arguments

Sender

  

Object for the KeyPress event.

Key

  

Key value captured in the panel.

Description

CalcKey is called when a button is located using the specified Key.