Vcl.ImgList.TCustomImageList.ShareImages

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ShareImages: Boolean read FShareImages write SetShareImages default False;

C++

__property bool ShareImages = {read=FShareImages, write=SetShareImages, default=0};

Properties

Type Visibility Source Unit Parent
property public
Vcl.ImgList.pas
Vcl.ImgList.hpp
Vcl.ImgList TCustomImageList

Description

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.

See Also