Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

Control.getCapture

Retrieves a boolean value indicating whether this control has captured the mouse.

Syntax

public final boolean getCapture()

Return Value

Returns true if this control has captured the mouse; otherwise, returns false.

Remarks

When a control has captured the mouse, it receives mouse input whether or not the cursor is within its borders.

See Also   setCapture