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

TCustomListView.SmallImages

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

Declaration

Source position: comctrls.pp line 1583

protected property TCustomListView.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

TCustomListView.SmallImagesWidth

  

Width for the images in the SmallImages property.

TCustomListView.LargeImages

  

Image list which contains "big" icons displayed for view styles on the control.

TCustomListView.Items

  

Collection of list items displayed on the list view control.

TCustomListView.ViewStyle

  

Sets one of ListView layouts: List (simple column), Report (few columns with full width), Icon (big icons), Small Icon (small icons, 16x16).

TListItem.ImageIndex

  

Ordinal position for the image displayed for the list item.

TViewStyle

  

Represents the view styles available for the items in a list view control.


Version 3.2 Generated 2024-02-25 Home