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

# TCustomListView.SmallImages

SmallImages - an ImageList of small images (icons) to be used in association with the list of Items

## Declaration

Source position: comctrls.pp line 1024

`protected property TCustomListView.SmallImages: TCustomImageList index Ord ( lvilSmall ) readGetImageListwriteSetImageList;`

## Description

SmallImages - an ImageList of small images (icons) to be used in association with the list of Items

A typical application might have two ImageLists: one ofLargeImages and one of SmallImages, containing two versions of the same collection of images, in large and small format; the index numbers of the first list would correspond with those in the second list.

SmallImages could be displayed beside the text strings in the list view, and the programmer would supply code to ensure that when an item with its associated SmallImage was selected, the corresponding LargeImage would be displayed in another window.

A TImageList control needs to be selected and pasted on to the Form Designer, and the ImageList Editor can be opened from the pop-up menu obtained by right-clicking on TImageList icon in the Form Designer. Then in the StringList editor for Items the correct ImageIndex must be allocated to each entry in the list.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.