Delphi的帮助已经很详细了阿~~TModalResult type
TModalResult represents the return value from a modal dialog.UnitFormstype TModalResult = Low(Integer)..High(Integer);DescriptionTModalResult represents the value returned by a modal dialog. An application can use any integer value as a modal result value. For convenience, the controls unit defines a set of constants for commonly used TModalResult values:Constant Value MeaningmrNone 0 None. Used as a default value before the user exits.
mrOk idOK The user exited with OK button.
mrCancel idCancel The user exited with the CANCEL button. 
mrAbort idAbort The user exited with the ABORT button.
mrRetry idRetry The user exited with the RETRY button.
mrIgnore idIgnore The user exited with the IGNORE button.
mrYes idYes The user exited with the YES button.
mrNo idNo The user exited with the NO button.
mrAll mrNo + 1 Used to determine the last predefined constant.