Sign in Join
FPDoc Onlineexperiment

TCustomShellListView.UseBuiltInIcons property

Member of TCustomShellListViewpublicIn unit ShellCtrls

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

Declaration

pascal
property 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.

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

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.