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

TBitBtn.OnKeyDown

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

Declaration

Source position: buttons.pp line 289

published property TBitBtn.OnKeyDown : TKeyEvent;

Description

OnKeyDown differs from OnKeyPress in that the key may have already been down when the control received focus; with OnKeyPress the key needs to become pressed while the control has focus.

See also

TWinControl.OnKeyDown

  

Event handler signalled for key down keyboard events.


Version 4.0 Generated 2025-05-03 Home