DialogGlyphs function
Gets the image list with glyph images used on dialogs.
Declaration
function DialogGlyphs: TDialogImageListFunction 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
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
