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

# TCustomImageList.Change

Sends change notifications when the image list is updated.

## Declaration

Source position: imglist.pp line 353

`public procedure TCustomImageList.Change;`

## Description

Change is a procedure used to send change notifications when the image list is updated. Change uses internal members in the class instance which track changes to the image list. No actions are performed in the method when the image list has not been changed, or when a call to BeginUpdate has not been followed by a matching call to EndUpdate.

Change calls the NotifyChangeLink method to notify subscribers in its ChangeLinkList, and executes the OnChange handler when it has been assigned.

The internal member used to track changes in the image list is reset prior to exiting from the method.

Change is called from methods which update the content in the image list, such as:

- Clear
- Delete
- Move
- EndUpdate
- ReadData
- ReadAdvData
- SetBkColor (write access specifier for the BkColor property)

## See also

TCustomImageList.BeginUpdate |  | Starts an update to the image list, and controls execution of the OnChange event.
TCustomImageList.EndUpdate |  | Finishes an update to the image list, and calls Change.
TCustomImageList.OnChange |  | Event handler signalled when the image list is changed.