Microsoft SDK for Java

Form.getCancelButton

Retrieves the form's cancel button.

Syntax

public final IButtonControl getCancelButton()

Return Value

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

Remarks

The cancel button designates the control on a form that is clicked when the user presses the ESC key.

See Also   setCancelButton

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