Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

Control.setCapture

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

Syntax

public final void setCapture( boolean value )

Parameters

value

Set to true if this control has captured the mouse; otherwise, set to false.

Remarks

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

See Also   getCapture