FMX.Controls3D.TControl3D.KeyUp

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure KeyUp(var Key: Word; var KeyChar: System.WideChar; Shift: TShiftState); virtual;

C++

virtual void __fastcall KeyUp(System::Word &Key, System::WideChar &KeyChar, System::Classes::TShiftState Shift);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FMX.Controls3D.pas
FMX.Controls3D.hpp
FMX.Controls3D TControl3D

Description

OnKeyUp event dispatcher.

Key specifies the key on the keyboard.

KeyChar specifies the character code.

Shift indicates which shift keys--SHIFT, CTRL, ALT, and CMD (only for Mac)--were down when the previously pressed key is released with the control in focus.

A 3D control calls KeyUp in response to any key-up messages, decoding the message parameters into the key code, character code, and shift state, which it passes in Key, KeyChar, and Shift, respectively.

Override the protected KeyUp method to provide other responses when a key is released while the control has keyboard focus.

See Also