Sign in Join
FPDoc Onlineexperiment

StripAllFromResult function

In unit System.UITypes

Converts a modal result value for one of the "To All" values to its singular equivalent.

Declaration

pascal
function StripAllFromResult(const AModalResult: TModalResult)
: TModalResult

Arguments

AModalResult

Modal result value converted in the routine.

Function result

Modal result value after conversion to its singular equivalent.

Description

StripAllFromResult is a TModalResult function used to convert the modal result value in aModalResult to its singular equivalent.

For example:

Modal Result Return Value
mrAll mrOk
mrNoToAll mrNo
mrYesToAll mrYes

Other values in aModalResult are not converted.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.