Vcl.Controls.TKeyPressEvent
Delphi
TKeyPressEvent = procedure(Sender: TObject; var Key: Char) of object;
C++
typedef void __fastcall (__closure *TKeyPressEvent)(System::TObject* Sender, System::WideChar &Key);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
type typedef |
public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | Vcl.Controls |
説明
TKeyPressEvent は、OnKeyPress イベントの関数型です。
TKeyPressEvent は、次のパラメータを保持しています。
パラメータ | 意味 |
---|---|
Sender |
イベントを生成したコントロール。 |
Key |
押されたキー。 |