Vcl.Grids.TCustomGrid.KeyPress

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

Delphi

procedure KeyPress(var Key: Char); override;

C++

DYNAMIC void __fastcall KeyPress(System::WideChar &Key);

プロパティ

種類 可視性 ソース ユニット
procedure
function
protected
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids TCustomGrid

説明

キーが押された時点で特殊な処理を提供します。

KeyPress メソッドは,KeyDown メソッドが呼び出されてからユーザーがキーを離すまでの間に自動的に呼び出されます。

OnKeyPress イベントを生成すると,KeyPress は,ユーザーが Enter キーを押したときの EditorMode プロパティを切り替えます。

関連項目