Sign in Join
FPDoc Onlineexperiment

TDBMemo.KeyPress procedure

Member of TDBMemoprotectedIn unit DBCtrls

Signals the OnKeyPress event handler (when assigned).

Declaration

pascal
procedure KeyPress(var Key: char); override

Description

KeyPress is called from the DoKeyPress method when the parent form does not have KeyPreview enabled or does not handle the character code in Key. KeyPress is not called if csNoStdEvents has been included in the ControlStyle property.

See UTF8KeyPress for the actions performed for a UTF-8-encoded character in a key press.

This description is the one of Controls.TWinControl.KeyPress.

See also

  • UTF8KeyPress

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