Sign in Join
FPDoc Onlineexperiment

TControl.GetMouseCapture function

Member of TControlprotectedIn unit Controls

Gets the value for the MouseCapture property.

Declaration

pascal
function GetMouseCapture: Boolean; virtual

Description

Indicates if the class instance is the current CaptureControl for the LCL framework. The property value is True when the following condition are satisfied:

  • Parent is assigned (not Nil).
  • Parent has an allocated window handle.
  • The value in the LCL CaptureContol variable is the current class instance.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.