[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 274

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

  

Handler for keyboard key pressed.