Sign in Join
FPDoc Onlineexperiment

TDragManager.KeyDown procedure

Member of TDragManagerprotectedIn unit Controls

Handler for keyboard key pressed.

Declaration

pascal
procedure KeyDown(var Key: Word; Shift: TShiftState); virtual
 ; abstract

Arguments

Key

Virtual key code for the key down event.

Shift

Shift, Ctrl, or Alt modifier for the key up event.

Description

When (and while) the Ctrl key is pressed, dropping is disabled. The Esc key aborts the current dragging operation immediately.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.