Vcl.WinXCtrls.TCustomToggleSwitch.KeyDown

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure KeyDown(var Key: Word; Shift: TShiftState); override;

C++

DYNAMIC void __fastcall KeyDown(System::Word &Key, System::Classes::TShiftState Shift);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.WinXCtrls.pas
Vcl.WinXCtrls.hpp
Vcl.WinXCtrls TCustomToggleSwitch

Description

Responds to a key press.

If the Key is vk_Space, KeyDown sets a flag that KeyUp uses.

See Also