FMX.Controls.Presentation.TKeyInfo.Key

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

Key: Word;

C++

System::Word Key;

Properties

Type Visibility Source Unit Parent
field public
FMX.Controls.Presentation.pas
FMX.Controls.Presentation.hpp
FMX.Controls.Presentation TKeyInfo

Description

Scan code of the pressed keyboard key, or $0.

If a pressed key combination can be a shortcut, then Key is a virtual key and KeyChar is #0.

Physical scan codes of the same key can differ under different platforms (for example Windows or iOS). Platform-specific units (for example FMX.Platform.Mac.pas) should translate native scan codes to corresponding Windows codes defined in the UITypes unit.

See Also