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

TImageList

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

Implements a multi-resolution container for images used in an application.

Declaration

Source position: controls.pp line 2502

type TImageList = class(TDragImageList)

published

  property AllocBy: Integer;

  

Size used to increment the allocated data count.

  property BlendColor: TColor;

  

Color used when blending (dithering) an image.

  property BkColor: TColor;

  

Specifies the background color used for transparent parts of images.

  property DrawingStyle: TDrawingStyle;

  

The default drawing style for images in the image list.

  property Height: Integer;

  

Height of images in the default resolution for the image list.

  property ImageType: TImageType;

  

Controls whether images are drawn with or without a mask.

  property Masked: Boolean;

  

Indicates if an image mask is used for images in the list.

  property Scaled: Boolean;

  

Controls whether image sizes are automatically scaled for different display density (Pixels per Inch) settings.

  property ShareImages: Boolean;

  

True when the handle for the image list is shared.

  property Width: Integer;

  

Width of images in the default resolution for the image list.

  property OnChange: TNotifyEvent;

  

Event handler signalled when the image list is changed.

  property OnGetWidthForPPI: TCustomImageListGetWidthForPPI;

  

Event handler used to override the scaled width for a display density.

end;

Inheritance

TImageList

  

Implements a multi-resolution container for images used in an application.

|

TDragImageList

  

A multi-resolution list of Images used during Drag operations.

|

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

TImageList is a TDragImageList descendant, and sets the visibility for properties in ancestor classes (like TCustomImageList). As a TDragImageList descendant, it provides support for using images in the list during drag-and-drop or drag-and-dock operations. Most of the features and functionality for the list are inherited from the TCustomImageList class.

See also

TDragImageList

  

A multi-resolution list of Images used during Drag operations.

TCustomImageList

  

The base class for TImageList.


Version 3.2 Generated 2024-02-25 Home