Sign in Join
FPDoc Onlineexperiment

TCustomListView.SmallImages property

Member of TCustomListViewprotectedIn unit ComCtrls

Image list which contains "small" icons used for view styles.

Declaration

pascal
property SmallImages: TCustomImageList index Ord(lvilSmall) read GetImageList write SetImageList;

Description

A typical application might have two ImageLists: one of LargeImages and one of SmallImages containing two versions of the same collection of images, in large and small format. The index numbers for images in the first list would correspond to the same image with another size in the second list. SmallImages are displayed beside the text strings in the list view, and are used for the vsSmallIcon, vsList, and vsReport view styles.

The TImageList instance can be created and populated at design-time using the editor available on the content menu in the form designer. It can also be created, populated, and assigned at run-time if needed.

Use the SmallImagesWidth property to specify the width for the images in the list.

Use the Items property to access and maintain the ImageIndex used for each of the list items.

Use ViewStyle to control the layout and content for the list items on the control.

See also

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