RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Forms.KeysToShiftState Function

Convert mouse event parameter to TShiftState.

Pascal
function KeysToShiftState(Keys: Word): TShiftState;
C++
TShiftState KeysToShiftState(Word Keys);

Convert the parameter Keys to a TShiftState type. Keys contains flags that indicate the status of the mouse buttons and the CTRL and SHIFT keys at the time of the mouse event 

 

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