Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

Form.setKeyPreview

Specifies whether the form should receive key events for all contained controls before the control receives them.

Syntax

public final void setKeyPreview( boolean keyPreview )

Parameters

keyPreview

Set to true if you want to form to receive its child controls key events before the child receives them; otherwise, set to false.

See Also getKeyPreview