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

TDBGrid.OnKeyDown

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

Declaration

Source position: dbgrids.pas line 660

published property TDBGrid.OnKeyDown : TKeyEvent;

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

TDBGrid.OnKeyPress

  

Event handler signalled for the key press event.

TDBGrid.OnKeyUp

  

Event handler signalled for a key up event.

TKeyEvent

  

Defines an event handler for key events.

TWinControl.OnKeyDown

  

Event handler signalled for key down keyboard events.


Version 3.2 Generated 2024-02-25 Home