Vcl.DBGrids.TCustomDBGrid.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.DbGrids.pas
Vcl.DBGrids.hpp
Vcl.DBGrids TCustomDBGrid

Description

Responds when the user presses a key.

When the user presses a key, first the KeyDown method is called, then the KeyPress method, and finally the KeyUp method when the user releases the key. KeyPress overrides the inherited method to write edits to the dataset when the user presses Return.

See Also