DesignIntf.IDesigner60.GetShiftState

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
DesignIntf.pas
DesignIntf.hpp
Unit: DesignIntf
Parent: IDesigner60

Delphi

function GetShiftState: TShiftState;

C++

virtual System::Classes::TShiftState __fastcall GetShiftState() = 0 ;

Description

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

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.