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

TApplication.ControlKeyDown

Handles KeyDown events in a Control, e.g. handles navigation keys.

Declaration

Source position: forms.pp line 1642

public procedure TApplication.ControlKeyDown(

  Sender: TObject;

  var Key: Word;

  Shift: TShiftState

);

Arguments

Sender

  

Object for the event notification.

Key

  

Key code examined in the event handler.

Shift

  

Ctrl, Alt, Shift modifier for the key code.


Version 4.0 Generated 2025-05-03 Home