Vcl.Controls.TKeyPressEvent

提供: RAD Studio API Documentation
移動先: 案内検索

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

押されたキー。



関連項目