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

# DialogResName

Contains the base names for glyph resources used on dialogs.

## Declaration

Source position: dialogres.pas line 15

`const DialogResName: array [TDialogImage] of string = ('dialog_warning', 'dialog_error', 'dialog_information', 'dialog_confirmation', 'dialog_shield');`

## Description

DialogResName is an array constant which contains strings with the base resource names for glyph images used on dialogs. The array elements are indexed by the values in the TDialogImage range type. For example:

    sResName := DialogResName[idDialogError] // returns 'dialog_error'

This base resource name can then be combined with a scaling suffix, like '_150' or '_200', to form the complete name for the desired icon resource.

## See also

TDialogImage |  | Defines a range with image identifiers for glyphs used in dialog resources.
TDialogImageList |  | Implements a multi-resolution image list used for a dialog icon loaded from a resource file.
DialogGlyphs |  | Gets the image list with glyph images used on dialogs.