Show: Delphi C++
Display Preferences

FMX.Types.TKeyEvent

From XE3 API Documentation
Jump to: navigation, search

C++

typedef void __fastcall (__closure *TKeyEvent)(System::TObject* Sender, System::Word &Key, System::WideChar &KeyChar, System::Classes::TShiftState Shift);

Properties

Type Visibility Source Unit Parent
typedef public FMX.Types.hpp FMX.Types FMX.Types

Description

Procedural type that is used for all OnKeyDown and OnKeyUp event types.

A TKeyEvent event handler must be called with the following parameters:

  • Sender--a pointer to the object that called this function.
  • Key--the key on the keyboard.
  • KeyChbar--the character code.
  • Shift-- indicates which shift keys (SHIFT, CTRL, or ALT) were down when the specified key was pressed with the control in focus.

See Also

Personal tools
Translations