Vcl.RibbonActnCtrls.IsLeftMouseButtonPressed

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IsLeftMouseButtonPressed(Control: TControl): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall IsLeftMouseButtonPressed(Vcl::Controls::TControl* Control);

Properties

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

Description

Checks if the left mouse button is pressed.

IsLeftMouseButtonPressed checks if the left mouse button is pressed on a ribbon component. This method tell DrawBackground methods what to draw depending on the mouse gestures.