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

TCustomShellListView.UseBuiltInIcons

Indicates if icons provided by the OS or platform are used for items in the list.

Declaration

Source position: shellctrls.pas line 250

public property TCustomShellListView.UseBuiltInIcons : Boolean
  read FUseBuiltinIcons
  write FUseBuiltInIcons
  default True;

Description

UseBuiltInIcons is a Boolean property which indicates if icons provided by the OS or platform are used for the Items in the list view control. The default value for the property is True.

UseBuiltInIcons is used when the list view control is populated with the names for the file and/or directories on the local file system. When set to True, the GetBuiltInImageIndex method is called to get the image index for a TListItem stored in the Items property.

Set UseBuiltInIcons to False to use custom images provided in the LargeImages or SmallImages properties.

Remark: UseBuiltInIcons and GetBuiltInImageIndex require support in the widgetset class to use system-provided icons. This support is currently implemented for the Windows platform only.

See also

TCustomShellListView.GetBuiltInImageIndex

  

Gets the index position for the built-in icon used for the specified path or file name.

TCustomShellListView.Items

  

Collection of list items displayed on the list view control.

TCustomShellListView.PopulateWithRoot

  

Fills the list view with file system information for the root directory.

TListItem.ImageIndex

TCustomListView.LargeImages

  

ImageList object, which contains "big" icons for one if ListView layouts.

TCustomListView.SmallImages

  

ImageList object, which contains "small" icons for one if ListView layouts.