[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Forms' (#lcl)

# TModalResult

Dummy type for the values that can be returned as a modal result.

## Declaration

Source position: forms.pp line 482

`type TModalResult = System.UITypes.TModalResult;`

## Description

Even though the type is defined as an integer, only the defined constant values should be used (mrOK, mrCancel, et. al.).

## See also

controls.mrNone |  | Modal dialog exited with the None button.
controls.mrOK |  | Modal dialog exited with the OK button.
controls.mrCancel |  | Modal dialog exited with the Cancel button.
controls.mrAbort |  | Modal dialog aborted.
controls.mrRetry |  | Modal dialog exited with the Retry button.
controls.mrIgnore |  | Modal dialog exited with the Ignore button.
controls.mrYes |  | Modal dialog exited with the Yes button.
controls.mrNo |  | Modal dialog exited with the No button.
controls.mrAll |  | Modal dialog exited with the All button.