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

# TCustomImageList.Clear

Removes all images store in the image list.

## Declaration

Source position: imglist.pp line 354

`public procedure TCustomImageList.Clear;`

## Description

Clear is a procedure used to remove all images stored in the image list.

Clear ensures that the content for all of the image resolutions is removed from the list, and calls ClearOverlays to reset any index positions used in the Overlays property. Clear sets the internal Changed flag for the class instance to True, and calls the Change method to perform change notifications.

## See also

TCustomImageList.Resolutions |  | Provides access to the image resolutions (or sizes) used in the image lists.
TCustomImageList.ClearOverlays |  | Clears images indexes assigned as overlay images in the image list.
TCustomImageList.Overlay |  | Assigns an overlay index for the specified image in the image list.
TCustomImageList.Change |  | Sends change notifications when the image list is updated.
TCustomImageList.OnChange |  | Event handler signalled when the image list is changed.
TCustomImageListResolutions |  | Provides multiple image resolutions in TCustomImageList.