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

# TShiftState

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

## Declaration

`type TShiftState = set of (`
`ssShift,` |  | Either left or right shift key
`ssAlt,` |  | Either left or right ALT key
`ssCtrl,` |  | Either left or right CTRL key
`ssLeft,` |  | Either left or right shift key
`ssRight,` |  |
`ssMiddle,` |  |
`ssDouble,` |  |
`ssMeta,` |  | The META key
`ssSuper,` |  |
`ssHyper,` |  |
`ssAltGr,` |  | The AltGr (right Alt) key
`ssCaps,` |  | The CapsLock key
`ssNum,` |  | The NumLock key
`ssScroll,` |  | The ScrollLock key
`ssTriple,`
`ssQuad`
`);`

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