Form.setDialogResult

Overview | Methods | This Package | All Packages

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