Vcl.Controls.TImageList.AllocBy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AllocBy: Integer read FAllocBy write FAllocBy default 4;

C++

__property AllocBy = {default=4};

Properties

Type Visibility Source Unit Parent
property published
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TImageList

Description

Sets the number of images by which the image list grows when it needs to make room for new images.

Vcl.Controls.TImageList.AllocBy inherits from Vcl.ImgList.TCustomImageList.AllocBy. All content below this line refers to Vcl.ImgList.TCustomImageList.AllocBy.

Sets the number of images by which the image list grows when it needs to make room for new images.

Use the AllocBy method to specify the number of new images that can be added to the resized image list.

See Also