Show: Delphi C++
Display Preferences

Classes.TShortCut

From XE API Documentation
Jump to: navigation, search

Delphi

type TShortCut = 0..65535;

C++

typedef System::Word TShortCut;

Properties

Type Visibility Source Unit Parent
type
typedef
public
Classes.pas
Classes.hpp
Classes Classes

Description

TShortCut defines a data type that can hold the combinational state of the Alt, Ctrl, and Shift keys.

The TShortCut type is used by key-event handlers to determine the state of the Alt, Ctrl, and Shift keys when the event occurs. It can hold none, 1 or more of the following:



Value Meaning

scShift

The Shift key is held down.

scAlt

The Alt key is held down.

scCtrl

The Ctrl key is held down.



Note:  A zero value is equivalent to scNone : no short cut keys were depressed.

See Also

Personal tools
Previous Version
Translations