Sign in Join
FPDoc Onlineexperiment

TCustomImageListResolutions.ImageLists property

Member of TCustomImageListResolutionspublicIn unit ImgList

Provides access to an image list which uses the specified image width.

Declaration

pascal
property ImageLists[AImageWidth: Integer]: TCustomImageListResolution read GetImageLists;

Description

ImageLists is a read-only indexed TCustomImageListResolution property which provides access to the image resolution which uses the image width in AImageWidth.

GetImageLists is the read access specifier for the property value. An overloaded variant of the method is used to Find an existing image resolution that uses the requested image size. If an image resolution with the requested size does not already exist, a new resolution class instance is created and populated with images scaled to the required size. The new image resolution is inserted in the container at the position where the image size should be located. This ensures that the image resolutions are ordered in ascending image size order as expected in TCustomImageList methods.

Use the Items property to access existing resolutions by their ordinal position in the container.

See also

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