Vcl.Samples.Spin.TSpinEdit.KeyPress
Delphi
procedure KeyPress(var Key: Char); override;
C++
DYNAMIC void __fastcall KeyPress(System::WideChar &Key);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
protected | Vcl.Samples.Spin.pas Vcl.Samples.Spin.hpp |
Vcl.Samples.Spin | TSpinEdit |
説明
キーボード入力に対応します。
KeyPress は、キー入力イベントに対応します。 このメソッドは、IsValidChar を使用してキーを検証します。
Key
パラメータは、キーボード キーです。KeyPress は、KeyPress 継承メソッドを呼び出します。