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

# TModalResult

TModalResult - the range of values that can be returned as a modal result

## Declaration

Source position: forms.pp line 380

`type TModalResult = low(Integer)..high(Integer);`

## Description

TModalResult represents the value returned by a modal dialog. Even though the type is defined as an integer, instead a few standard constants are used as return results in applications.

## See also

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

The latest version of this document can be found at lazarus-ccr.sourceforge.net.