[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 302

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.Items

  

Collection of list items displayed on the list view control.

TCustomShellListView.PopulateWithRoot

  

Fills the list view with file system information for the directory in Root.

TListItem.ImageIndex

TCustomListView.LargeImages

  

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

TCustomListView.SmallImages

  

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


Version 4.0 Generated 2025-05-03 Home