Sign in Join
FPDoc Onlineexperiment

TCustomImageList.DoBeforeUpdateEnded procedure

Member of TCustomImageListprotectedIn unit ImgList

Performs actions needed before the EndUpdate method is completed.

Declaration

pascal
procedure DoBeforeUpdateEnded; virtual

Description

DoBeforeUpdateEnded is a virtual method in TCustomImageList called from the EndUpdate method. It is called when the first update batch corresponding to the initial BeginUpdate call for the image list is completed (i.e. when the update counter is 1). It occurs immediately before the update counter is decremented and the Change method is called.

DoBeforeUpdateEnded has an empty implementation in TCustomImageList, but can be overridden in descendent classes to perform any actions needed in the derived class.

Use DoAfterUpdateStarted to perform actions needed in the BeginUpdate method after the update counter has been incremented.

Use MarkAsChanged to set the internal flag which tracks modifications to the image list.

Added in LCL version 3.0.

See also

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