Sign in Join
FPDoc Onlineexperiment

TBitBtn.OnKeyPress property

Member of TBitBtnpublishedIn unit Buttons

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

Declaration

pascal
property OnKeyPress:;

Description

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

See also

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