RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IDesigner60.GetShiftState Method

Returns the current state of the Shift, Alt, and Ctrl keys.

Pascal
function GetShiftState: TShiftState;
C++
__fastcall TShiftState GetShiftState();

Call GetShiftState to ascertain whether the Shift, Alt, and Ctrl keys are currently pressed. GetShiftState returns a TShiftState value that indicates the status of these keys. 

 

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