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

TDBEdit.OnKeyPress

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

Declaration

Source position: dbctrls.pp line 261

published property TDBEdit.OnKeyPress : TKeyPressEvent;

Description

OnKeyPress differs from the method in TWInControl 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

  

Handler for a character entered by the user.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.