RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Forms.KeyboardStateToShiftState Function

Convert array of virtual keys to TShiftState.

Pascal
function KeyboardStateToShiftState(const KeyboardState: TKeyboardState): TShiftState; overload;
function KeyboardStateToShiftState: TShiftState; overload;
C++
TShiftState KeyboardStateToShiftState(const TKeyboardState KeyboardState);
TShiftState KeyboardStateToShiftState();

Convert the given array of virtual keys KeyboardState to a TShiftState type. This array can be provided by the Windows function GetKeyboardState. 

 

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