procedure KeyUp(var Key: Word; var KeyChar: WideChar; Shift: TShiftState); virtual;
virtual void __fastcall KeyUp(System::Word &Key, System::WideChar &KeyChar, System::Classes::TShiftState Shift);
OnKeyUp event dispatcher.
A control calls KeyUp in response to any key-up messages, decoding the message parameters into the key code, character code, and shift state. The control passes them in the
Shift parameters, respectively:
Keyis the scan code of the released keyboard key.
KeyCharis the character code of the released key.
Shiftindicates which shift keys--SHIFT, CTRL, ALT, and CMD (only for Mac)--were down when you release the previously pressed key with the control in focus.
Override the protected KeyUp method to provide other responses when a key is released while the control has keyboard input focus.