Vcl.ComCtrls.THotKey.Modifiers

From RAD Studio API Documentation
Jump to: navigation, search

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.

Vcl.ComCtrls.THotKey.Modifiers inherits from Vcl.ComCtrls.TCustomHotKey.Modifiers. All content below this line refers to Vcl.ComCtrls.TCustomHotKey.Modifiers.

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