[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'ImgList' (#lcl)

TCustomImageList.DoAfterUpdateStarted

Performs actions needed after the BeginUpdate method is started.

Declaration

Source position: imglist.pp line 317

protected procedure TCustomImageList.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.

Version info

Added in LCL version 3.0.

See also

TCustomImageList.BeginUpdate

  

Starts an update to the image list, and controls execution of the OnChange event.

TCustomImageList.EndUpdate

  

Finishes an update to the image list, and calls Change.

TCustomImageList.DoBeforeUpdateEnded

  

Performs actions needed before the EndUpdate method is completed.

TCustomImageList.MarkAsChanged

  

Sets the value in the internal Changed flag to True.


Version 3.2 Generated 2024-02-25 Home