Vcl.ImgList.TCustomImageList.BeginUpdate
Delphi
procedure BeginUpdate;
C++
HIDESBASE void __fastcall BeginUpdate(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.ImgList.pas Vcl.ImgList.hpp |
Vcl.ImgList | TCustomImageList |
Description
Enables TCustomImageList to track when the image list is changing.
BeginUpdate is called automatically by any property or method that changes the image list. Once the changes are complete, the property or method calls EndUpdate.
Call BeginUpdate before directly modifying the images in the list and EndUpdate, after modifying them. When implementing properties or methods that change the list in descendants of TCustomImageList, call BeginUpdate before the changes are made, and EndUpdate when the changes are complete.