[Overview][Constants][Types][Index] Reference for unit 'UITypes' (#lazutils)

ModalResultStr

String representations for modal result values.

Declaration

Source position: uitypes.pas line 93

const ModalResultStr: array [mrNone..mrLast] of shortstring = ('mrNone', 'mrOk', 'mrCancel', 'mrAbort', 'mrRetry', 'mrIgnore', 'mrYes', 'mrNo', 'mrAll', 'mrNoToAll', 'mrYesToAll', 'mrClose');

Description

ModalResultStr is an array of ShortString values that contains the string representations for the values in TModalResult. ModalResultStr values can be accessed using the corresponding numeric modal result value. For example:

sResult := ModalResultStr[mrNone]; // returns 'mrNone'

ModalResultStr contains the following values:

ModalResultStr is used in the implementation of the GetModalResultStr routine in the controls.pp unit.

See also

GetModalResultStr


Version 3.2 Generated 2024-02-25 Home