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