RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Classes.TShortCut Type

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

Pascal
TShortCut = Low(Word)..High(Word);
C++
Low(Word)..High(Word) TShortCut;

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 
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.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!