Vcl.Controls.TKeyPressEvent
C++
typedef void __fastcall (__closure *TKeyPressEvent)(System::TObject* Sender, System::WideChar &Key);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
typedef | public | Vcl.Controls.hpp | Vcl.Controls | Vcl.Controls |
Description
TKeyPressEvent is the function type for an OnKeyPress event.
TKeyPressEvent has the following parameters:
Parameter | Meaning |
---|---|
Sender |
The control that generated the event. |
Key |
The key that is pressed. |