Vcl.Samples.Spin.TSpinEdit.KeyPress

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

procedure KeyPress(var Key: Char); override;

C++

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

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
procedure
function
protected
Vcl.Samples.Spin.pas
Vcl.Samples.Spin.hpp
Vcl.Samples.Spin TSpinEdit

Beschreibung

Antwortet auf Tastatureingaben.

KeyPress antwortet auf Tastendruckereignisse. Die Methode verwendet IsValidChar zur Validierung der Taste.

Der Parameter Key ist eine Tastaturtaste. KeyPress ruft die geerbte Methode KeyPress auf.

Siehe auch