Vcl.Controls.TImageList.ShareImages
Delphi
property ShareImages: Boolean read FShareImages write SetShareImages default 0;
C++
__property ShareImages = {default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TImageList |
Description
Specifies whether the image list destroys its handle when the image list is destroyed.
Vcl.Controls.TImageList.ShareImages inherits from Vcl.ImgList.TCustomImageList.ShareImages. All content below this line refers to Vcl.ImgList.TCustomImageList.ShareImages.
Specifies whether the image list destroys its handle when the image list is destroyed.
Set the ShareImages property to false to ensure that the handle to the image list is freed when the image list is destroyed.