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

TDBListBox.OnKeyPress

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

Declaration

Source position: dbctrls.pp line 438

published property TDBListBox.OnKeyPress : TKeyPressEvent;

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

TWinControl.OnKeyPress

  

Event handler signalled for character data entered by the user.


Version 4.0 Generated 2025-05-03 Home