[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 363

type TModalResult = ( 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

  

mrNone

controls.mrOK

  

mrOK

controls.mrCancel

  

mrCancel

controls.mrAbort

  

mrAbort

controls.mrRetry

  

mrRetry

controls.mrIgnore

  

mrIgnore

controls.mrYes

  

mrYes

controls.mrNo

  

mrNo (not the same as mrNone)

controls.mrAll

  

mrAll

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