FMX.Controls.Presentation.TPresentedControl.KeyDown

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure KeyDown(var AKey: Word; var AKeyChar: System.WideChar; AShift: TShiftState); override;

C++

virtual void __fastcall KeyDown(System::Word &AKey, System::WideChar &AKeyChar, System::Classes::TShiftState AShift);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FMX.Controls.Presentation.pas
FMX.Controls.Presentation.hpp
FMX.Controls.Presentation TPresentedControl

Description

Sends a PM_KEYDOWN message to the presentation layer through its presentation proxy when a key is pressed down while your presented control has the focus.

The message includes a TKeyInfo record that contains the data of the parameters (AKey, AKeyChar, AShift).

See Also