[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Specifies an event handler for key press events.
Source position: controls.pp line 474
type TKeyPressEvent = procedure( |
Sender: TObject; |
var Key: Char |
) of object; |
Sender |
|
TObject for the event notification. |
Key |
|
Character value for the key press in the event notification. |
TKeyPressEvent is an object procedure type that defines an event handler for key press events.
TKeyPressEvent is the type used to implement the OnKeyPress event handler in TWinControl. Applications must implement an object procedure using the signature for the event handler, and assign it to the property to respond to the event notification.
|
Event handler signalled for character data entered by the user. |
Version 3.2 | Generated 2024-02-25 | Home |