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

DialogGlyphs

Gets the image list with glyph images used on dialogs.

Declaration

Source position: dialogres.pas line 36

function DialogGlyphs: TDialogImageList;

Function result

Returns the TDialogImageList singleton defined in the implementation section.

Description

DialogGlyphs is a TDialogImageList function which returns the image list with the glyphs used for dialog icons. DialogGlyphs is used to implement TTaskDialog and the DefaultPromptDialog routine.

DialogGlyphs replaces the deprecated GetDialogIcon routine in the dialogs.pp unit.

Image := TImage.Create(AOwner);
Image.Parent := AParent;
Image.Images := DialogGlyphs;
Image.ImageIndex := DialogGlyphs.DialogIcon[idDialogShield];
Image.Proportional := True;
Image.Stretch := True;
Image.StretchOutEnabled := False;
Image.Center := True;

See also

TDialogImageList

  

Implements a multi-resolution image list used for a dialog icon loaded from a resource file.

DefaultPromptDialog

  

Widgetset-independent implementation of a prompt dialog.

TTaskDialog.Execute

  

Launches the task dialog form.


Version 3.2 Generated 2024-02-25 Home