Vcl.Grids.TCustomGrid.KeyPress

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure KeyPress(var Key: Char); override;

C++

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

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids TCustomGrid

Description

Provides special processing when the user presses a key.

KeyPress is called automatically after the KeyDown method, but before the user releases the key.

After generating an OnKeyPress event, KeyPress toggles the EditorMode property when the user presses the Enter key.

See Also