Sign in Join
FPDoc Onlineexperiment

TCustomImageList.MarkAsChanged procedure

Member of TCustomImageListprotectedIn unit ImgList

Sets the value in the internal Changed flag to True.

Declaration

pascal
procedure MarkAsChanged

Description

MarkAsChanged allows an application to set the value for the internal member which tracks whether the image list has been modified. When enabled, the Change method performs change notifications for subscribers and signals the OnChange event handler (when assigned) when the EndUpdate method is called.

MarkAsChanged sets the value for the internal member to True. This update normally occurs in methods like Clear, Delete, Move, ReadData, ReadAdvData, and when the value in BkColor is changed. MarkAsChanged allows descendent classes to set the flag value from any methods added to the class or from application code.

Added in LCL version 3.0.

See also

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