The modal result value of the button that was clicked to close the dialog.
property ModalResult: TModalResult;
Set by the control that closes the dialog. To directly influence the ModalResult of the dialog, call the Close method. keywords: ModalResult;Close;Dialog Closing;Closing the dialog
TJSCustomDialog Properties