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);

Forms

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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!