Vcl.Outline.TCustomOutline.KeyPress
Delphi
procedure KeyPress(var Key: Char); override;
C++
DYNAMIC void __fastcall KeyPress(System::WideChar &Key);
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
procedure function |
protected | Vcl.Outline.pas Vcl.Outline.hpp |
Vcl.Outline | TCustomOutline |
説明
キーが押されたときの特殊な処理を提供します。
KeyPress は、ユーザーがキーを押した後、それが離される前に、自動的に呼び出されます。 継承されたメソッドを呼び出して、OnKeyPress イベントが生成された後に、KeyPress は以下のキー入力を処理します:
| キー | 動作 |
|---|---|
| + | 選択されたノードを展開。 |
| - | 選択されたノードを折りたたむ。 |
| * | アウトラインをすべて展開。 |