Show: Delphi
C++
Display Preferences
FMX.Types.IControl.KeyUp
From XE2 API Documentation
Delphi
procedure KeyUp(var Key: Word; var KeyChar: WideChar; Shift: TShiftState);
C++
virtual void __fastcall KeyUp(System::Word &Key, System::WideChar &KeyChar, System::Classes::TShiftState Shift) = 0 ;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | IControl |
Description
Provides a response when a key is released while the control has keyboard focus.
Implement KeyUp to provide a certain behavior when a key is released while the control has keyboard focus.
Key specifies the key on the keyboard.
KeyChar specifies the character code.
Shift indicates which shift keys (SHIFT, CTRL, or ALT) were down when the previously pressed key is released with the control in focus.
TControl implements this procedure as an OnKeyUp event dispatcher.