Vcl.Grids.TCustomGrid.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.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TCustomGrid |
Beschreibung
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.