System.Classes.TShiftState
Delphi
TShiftState = set of TShiftStateItem;
C++
typedef System::Set<TShiftStateItem, TShiftStateItem::ssShift, TShiftStateItem::ssHorizontal> TShiftState;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
set typedef |
public | System.Classes.pas System.Classes.hpp |
System.Classes | System.Classes |
Description
Indicates the state of the modifier keys, the mouse buttons, or the touch devices.
The TShiftState type is used by key-event and mouse-event handlers to determine the state of the modifier keys, the state of the mouse buttons or the state of an attached touch device, when the event occurs. It is a set of flags that indicates the following states:
Value | Description |
---|---|
|
The |
|
The |
|
The |
|
The left mouse button is held down. |
|
The right mouse button is held down. |
|
The wheel mouse button is held down. |
|
The mouse button was double-clicked. |
|
The user is holding a finger on the touch surface. |
|
The pen is touching the surface of a tablet. |
|
The |
|
The user is moving a finger horizontally on the touch surface or is rolling the mouse wheel to produce a horizontal displacement. |