Sends change notifications when the image list is updated.
Source position: imglist.pp line 353
public procedure TCustomImageList.Change; |
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:
|
Starts an update to the image list, and controls execution of the OnChange event. |
|
|
Finishes an update to the image list, and calls Change. |
|
|
Event handler signalled when the image list is changed. |
Lazarus Component Library (LCL) | Version 3.99-1b97b99691 (2024-09-01) | Home |