Vcl.ComCtrls.TCustomHotKey.Modifiers

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Modifiers: THKModifiers read FModifiers write SetModifiers default [hkAlt];

C++

__property THKModifiers Modifiers = {read=FModifiers, write=SetModifiers, default=4};

Properties

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

Description

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