Show: Delphi C++
Display Preferences

Vcl.ComCtrls.TCustomHotKey.InvalidKeys

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property InvalidKeys: THKInvalidKeys read FInvalidKeys write SetInvalidKeys default [hcNone, hcShift];

C++

__property THKInvalidKeys InvalidKeys = {read=FInvalidKeys, write=SetInvalidKeys, default=3};

Properties

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

Description

Allows you to specify that one or more modifier keys should be considered invalid.

Use InvalidKeys to select which modifier keys are not allowed. If this property is set, a default modifier should also be specified in the Modifiers property. When the invalid key is selected, the default modifier is displayed in its place.

THKInvalidKey is the type of the InvalidKeys property. These are the possible values:



Value Meaning

hcNone

Unmodified keys are invalid.

hcShift

The Shift key is invalid as a modifier.

hcCtrl

The Ctrl key is invalid as a modifier.

hcAlt

The Alt key is invalid as a modifier.

hcShiftCtrl

The Shift+Ctrl key combination is invalid as a modifier.

hcShiftAlt

The Shift+Alt key combinations invalid as a modifier.

hcCtrlAlt

The Ctrl+Alt key combination is invalid as a modifier.

hcShiftCtrlAlt

The Shift+Ctrl+Alt key combination is invalid as a modifier.



The default values are hcNone and hcShift.

See Also

Code Examples


Personal tools
In Other Languages
Previous Versions
Assistance