Sign in Join
FPDoc Onlineexperiment

TWinControl.GetMouseCapture function

Member of TWinControlprotectedIn unit Controls

Gets the value for the MouseCapture property.

Declaration

pascal
function GetMouseCapture: Boolean; override

Function result

Value for the MouseCapture property.

Description

GetMouseCapture is a Boolean function used to get the value for the MouseCapture property. It is overridden in TWinControl to ensure that the Handle for the control has been allocated. The return value is True when HandleAllocated returns True, and GetCaptureControl returns the current class instance.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.