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

TDialogImageList

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

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

Declaration

Source position: dialogres.pas line 25

type TDialogImageList = class(TLCLGlyphs)

public

  constructor Create(); override;

  

Constructor for the class instance.

  property DialogIcon []: Integer; [r]

  

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

end;

Inheritance

TDialogImageList

  

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

|

TLCLGlyphs

  

Represents glyphs for buttons or icons used in LCL controls.

|

TCustomImageList

  

The base class for TImageList.

|

TLCLComponent

  

The base class for LCL components which have an associated widget.

|

TComponent,IUnknown,IInterfaceComponentReference

|

TPersistent,IFPObserved

|

TObject

Description

TDialogImageList is a TLCLGlyphs descendant which implements an image list for a single dialog icon used in the LCL. It registers multiple resolutions for the glyph images including 16, 24, 32, 48, and 64 pixels variants. The default image size is 32x32 pixels. The different image sizes are loaded by calling the ThemeServices.GetStockImage method when theme services are available.

Applications do not need to create an instance of the class. Use the DialogGlyphs function to access the singleton with glyph icons created and filled in the implementation section.

Use the Width and Height select a different default size for images in the list.

Use the DialogIcon property to access get the ordinal position in the image list for an icon using its TDialogImage image identifier.

See also

TDialogImage

  

Defines a range with image identifiers for glyphs used in dialog resources.

TLCLGlyphs

  

Represents glyphs for buttons or icons used in LCL controls.

ThemeServices

  

Provides access to the Theme Services singleton for the widgetset.

TThemeServices.GetStockImage

  

Always returns False.


Version 3.2 Generated 2024-02-25 Home