Overview | Methods | This Package | All Packages
Sets the dialog box result generated by clicking the button.
Syntax
public final void setDialogResult( int value )
Parameters
value
A constant indicating the dialog box result that should be set when the button is clicked. If value is anything other than DialogResult.NONE, and if the parent form was displayed using the showDialog method, clicking the button closes the parent form and sets its dialogResult property to value. Values that represent common results are included in the DialogResult class. The default value is DialogResult.NONE.
See Also getDialogResult