FMX.ImgList.TLayer.SetCollection
Delphi
procedure SetCollection(Value: TCollection); override;
C++
virtual void __fastcall SetCollection(System::Classes::TCollection* Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | FMX.ImgList.pas FMX.ImgList.hpp |
FMX.ImgList | TLayer |
Description
Sets the value of the Layers property.
SetCollection removes this TLayer layer from the TLayers collection to which it currently belongs and adds it to the layers collection specified by Value
.
If Value
is not an object of the TLayers type, SetCollection raises an exception.