API:Vcl.VirtualImageList.TVirtualImageList.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AOwner: TComponent); override;

C++

__fastcall virtual TVirtualImageList(System::Classes::TComponent* AOwner);
/* TCustomImageList.CreateSize */ inline __fastcall TVirtualImageList(int AWidth, int AHeight) : Vcl::Imglist::TCustomImageList(AWidth, AHeight) { }

Properties

Type Visibility Source Unit Parent
constructor public
Vcl.VirtualImageList.pas
Vcl.VirtualImageList.hpp
Vcl.VirtualImageList TVirtualImageList

Description

Creates an empty image list.

Vcl.VirtualImageList.TVirtualImageList.Create inherits from Vcl.ImgList.TCustomImageList.Create. All content below this line refers to Vcl.ImgList.TCustomImageList.Create.

Creates an empty image list.

Call Create to instantiate an image list at runtime. ImageLists placed on forms or data modules at design time are created automatically. Specify the owner of the new imagelist using the AOwner parameter.

The new image list contains no images and has a default size of 16 by 16 pixels.

See Also