Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

GetCaptureControl

Returns the TControl instance with mouse capture enabled.

Declaration

Source position: controls.pp line 2736

function GetCaptureControl: TControl;

Function result

The control with the mouse capture, or Nil when a capture control is not set for the widgetset class.

Description

Please note: For the interface, only a Handle for TWinControl can capture the mouse. The LCL extends this to allow TControl to capture the mouse.



CT Web help

CodeTyphon Studio