Vcl.Controls.TImageList.Create

From RAD Studio API Documentation
Jump to: navigation, search

C++

/* TCustomImageList.Create */ inline __fastcall virtual TImageList(System::Classes::TComponent* AOwner) : TDragImageList(AOwner) { }
/* TCustomImageList.CreateSize */ inline __fastcall TImageList(int AWidth, int AHeight) : TDragImageList(AWidth, AHeight) { }

Properties

Type Visibility Source Unit Parent
constructor public Vcl.Controls.hpp Vcl.Controls TImageList

Description

Creates a new TImageList object.

Call TImageList indirectly, using the new keyword, to create a collection of same-sized images at runtime.

AOwner is the component that is responsible for freeing the image list. It becomes the value of the Owner property.

AWidth and AHeight give the dimensions, in pixels, of the images in the list.

See Also