Sign in Join
FPDoc Onlineexperiment

TCustomImageList.DoAfterUpdateStarted procedure

Member of TCustomImageListprotectedIn unit ImgList

Performs actions needed after the BeginUpdate method is started.

Declaration

pascal
procedure DoAfterUpdateStarted; virtual

Description

DoAfterUpdateStarted is a virtual method in TCustomImageList called from the BeginUpdate method after the internal update counter has been incremented. It is called when the first update becomes active for the image list (the update counter is 1). Subsequent calls to BeginUpdate do not call the DoAfterUpdateStarted method until the update count returns to 1.

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

Use DoBeforeUpdateEnded to perform actions needed in the EndUpdate method prior to decrementing the update counter and calling the Change method.

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.