Vcl.Samples.Spin.TSpinEdit.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.Samples.Spin.pas
Vcl.Samples.Spin.hpp
Vcl.Samples.Spin TSpinEdit

Description

Responds to keyboard input.

KeyPress responds to key press events. The method uses IsValidChar to validate the key.

The Key parameter is a keyboard key. KeyPress calls the KeyPress inherited method.

See Also