[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Classes' (#rtl)

# TShiftState

Indicates what special keys were pressed in combination with a normal key

## Declaration

Source position: classesh.inc line 110

`type TShiftState = set of (`
`ssShift,` |  | Shift key pressed
`ssAlt,` |  | Alt key pressed
`ssCtrl,` |  | Ctrl key pressed
`ssLeft,` |  | Left mouse button pressed.
`ssRight,` |  | Right mouse button pressed.
`ssMiddle,` |  | Middle mouse button pressed.
`ssDouble,` |  | Double mouse click.
`ssMeta,` |  | Meta key pressed.
`ssSuper,` |  | Super key pressed.
`ssHyper,` |  | Hyper key pressed.
`ssAltGr,` |  | Alt-GR key pressed.
`ssCaps,` |  | Caps lock key pressed
`ssNum,` |  | Num lock key pressed
`ssScroll,` |  | Scroll lock key pressed
`ssTriple,` |  | Triple mouse click
`ssQuad,` |  | Quadruple mouse click
`ssExtra1,` |  | Extra key 1
`ssExtra2` |  | Extra key 2
`);`

## Description

This type is used when describing a shortcut key or when describing what special keys are pressed on a keyboard when a key event is generated.

The set contains the special keys that can be used in combination with a 'normal' key.

Documentation generated on: Feb 26 2014