Microsoft SDK for Java

Form.getKeyPreview

Retrieves a boolean value that indicates whether this form is set to receive key events for contained controls before the controls receive them.

Syntax

public final boolean getKeyPreview()

Return Value

Returns true if this form will receive key events before the contained controls receive them; otherwise, returns false.

See Also   setKeyPreview

© 1999 Microsoft Corporation. All rights reserved. Terms of use.