Sign in Join
FPDoc Onlineexperiment

TCustomImageList.Change procedure

Member of TCustomImageListpublicIn unit ImgList

Sends change notifications when the image list is updated.

Declaration

pascal
procedure 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.