Microsoft SDK for Java

Form.getAcceptButton

Retrieves the current accept button for this form.

Syntax

public final IButtonControl getAcceptButton()

Return Value

Returns the control that represents the form's accept button.

Remarks

The accept button designates a form control that is clicked when the user presses the ENTER key.

See Also   setAcceptButton

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