[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Signals the OnKeyPress event handler (when assigned).
Source position: controls.pp line 2283
protected procedure TWinControl.KeyPress( |
var Key: Char |
); virtual; |
Key |
|
Character value for the key press event. |
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.
|
Signals the OnUTF8KeyPress event handler (when assigned). |
Version 3.2 | Generated 2024-02-25 | Home |