Sign in Join
FPDoc Onlineexperiment

DialogResName constant

In unit DialogRes

Contains the base names for glyph resources used on dialogs.

Declaration

pascal
DialogResName : Array[TDialogImage] of string = 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

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