Performs actions needed before the EndUpdate method is completed.
Source position: imglist.pp line 319
protected procedure TCustomImageList.DoBeforeUpdateEnded; virtual; |
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.
|
Starts an update to the image list, and controls execution of the OnChange event. |
|
|
Finishes an update to the image list, and calls Change. |
|
|
Performs actions needed after the BeginUpdate method is started. |
|
|
Sets the value in the internal Changed flag to True. |
Lazarus Component Library (LCL) | Version 3.99-1b97b99691 (2024-09-01) | Home |