ShiftState: Integer;
The ShiftState property returns the value that corresponds to the state of auxiliary keys (SHIFT, ALT, and CTRL) when the keyboard actions are executed.
Value of this property is a combination of values of the ShiftState enumerated type. This combination specifies what auxiliary keys (SHIFT, ALT, and CTRL) were pressed or released when executing operations using the keyboard. The property returns the 0 value if one of auxiliary keys (SHIFT, ALT, and CTRL) was not used when executing operations using the keyboard.
The property use is given in the example for IKeyEventArgs.Key.
See also: