Vcl.ComCtrls.THotKey.Modifiers

From RAD Studio API Documentation

Delphi

property Modifiers: THKModifiers read FModifiers write SetModifiers default 4;

C++

__property Modifiers = {default=4};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls THotKey

Description

Specifies the key or keys that are used in combination with a non-modifier key. {{#multireplace:Vcl.ComCtrls.THotKey.Modifiers|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.ComCtrls.TCustomHotKey.Modifiers|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.ComCtrls.TCustomHotKey.Modifiers|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Specifies the key or keys that are used in combination with a non-modifier key.

Use Modifiers to select a modifier key such as Ctrl, Alt, or Shift for the hot key. These are the possible values:



Value Meaning

hkShift

The Shift key is used as a modifier.

hkCtrl

The Ctrl key is used as a modifier.

hkAlt

The Alt key is used as a modifier.

hkExt

The Extra key is used as a modifier.



The default value is hkAlt.

Modifier keys are used with other non-modifier keys such as character and function keys, arrow keys, and so on. More than one modifier key can be used.

Code Examples