Vcl.Forms.KeysToShiftState

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function KeysToShiftState(Keys: Word): TShiftState;

C++

extern DELPHI_PACKAGE System::Classes::TShiftState __fastcall KeysToShiftState(System::Word Keys);

Properties

Type Visibility Source Unit Parent
function public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms Vcl.Forms

Description

Convert mouse event parameter to TShiftState.

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

See Also