Sign in Join
FPDoc Onlineexperiment

TDialogImageList.DialogIcon property

Member of TDialogImageListpublicIn unit DialogRes

Provides indexed access an image index for the dialog icon identified in AIndex.

Declaration

pascal
property DialogIcon[AIndex: TDialogImage]: Integer read GetDialogIcon;

Description

DialogIcon is a read-only Integer property used to get the ordinal position in internal storage where the image specified in AIndex is stored.

The AIndex argument is a value from the TDialogImage enumeration, and contains an identifier used to locate the corresponding image.

For example:

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;

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