Sign in Join
FPDoc Onlineexperiment

TDBGrid.OnKeyDown property

Member of TDBGridpublishedIn unit DBGrids

Event handler signalled when a key is down while the control has focus.

Declaration

pascal
property OnKeyDown:;

Description

OnKeyDown is a TKeyEvent event handler signalled when a key is down while the control has focus. OnKeyDown is called from the KeyDown method when processing keys specific to the data-aware grid.

OnKeyDown differs from OnKeyPress. With OnKeyDown the key may have already been down when the control receives focus. With OnKeyPress the key needs to become pressed while the control has focus.

See also

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