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

TCustomImageList.DoBeforeUpdateEnded

Performs actions needed before the EndUpdate method is completed.

Declaration

Source position: imglist.pp line 318

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

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.DoAfterUpdateStarted

  

Performs actions needed after the BeginUpdate method is started.

TCustomImageList.MarkAsChanged

  

Sets the value in the internal Changed flag to True.


Version 3.2 Generated 2024-02-25 Home