Sign in Join
FPDoc Onlineexperiment

TCustomImageList.CreateSize constructor

Member of TCustomImageListpublicIn unit ImgList

Initializes the image list using the specified height and width.

Declaration

pascal
constructor CreateSize(AWidth: Integer; AHeight: Integer)

Arguments

AWidth

The width of images in the default resolution.

AHeight

The height of images in the default resolution.

Description

CreateSize is an alternate constructor for the class instance. CreateSize calls the inherited constructor. CreateSize sets the image size used in the default resolution to the values specified in the AWidth and AHeight parameters.

Create calls the Initialize method to allocate resources and to set the default value for properties used in the image list.

CreateSize does not assign a value for the Owner property; it will not receive Notify events when the Application, Form, or Component where it is used is freed.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.