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

TWinControl.KeyDown

Signals the OnKeyDown event handler (when assigned).

Declaration

Source position: controls.pp line 2205

protected procedure TWinControl.KeyDown(

  var Key: Word;

  Shift: TShiftState

); virtual;

Arguments

Key

  

Numeric key code examined in the method.

Shift

  

Shift, Ctrl, or Alt modifier for the key.



CT Web help

CodeTyphon Studio