API:Vcl.Outline.TCustomOutline.KeyPress
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.Outline.pas Vcl.Outline.hpp |
Vcl.Outline | TCustomOutline |
Beschreibung
Stellt eine spezielle Verarbeitung bereit, wenn der Benutzer eine Taste drückt.
Vcl.Outline.TCustomOutline.KeyPress erbt von Vcl.Grids.TCustomGrid.KeyPress. Der folgende Inhalt bezieht sich auf Vcl.Grids.TCustomGrid.KeyPress.
Stellt eine spezielle Verarbeitung bereit, wenn der Benutzer eine Taste drückt.
KeyPress wird automatisch nach der Methode KeyDown aufgerufen, aber bevor die Taste losgelassen wird.
Nachdem das Ereignis OnKeyPress erzeugt wurde, ändert KeyPress die Eigenschaft EditorMode, sobald die Eingabetaste gedrückt wird.