Vcl.ComCtrls.TCustomHotKey.HotKey

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property HotKey: TShortCut read GetHotKey write SetHotKey default $0041; { Alt - A }

C++

__property System::Classes::TShortCut HotKey = {read=GetHotKey, write=SetHotKey, default=65};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomHotKey

Description

Contains the current key combination of the accelerator key control.

Use HotKey to set or change the key combination associated with the accelerator key. Alt+A is the default. To modify the value of HotKey either edit it directly or set the value of the Modifiers property. At runtime, HotKey is reset when the accelerator key has focus and the user presses valid key combinations.

See Also

Code Examples