Microsoft SDK for Java

Form.setDialogResult

Sets the value to be returned from the form when it is displayed as a modal dialog.

Syntax

public final void setDialogResult( int value )

Parameters

value

The value to return.

Remarks

Calling this method sets the value of the dialog result, closes the modal dialog, and returns control to the calling form.

See Also   getDialogResult, showDialog

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