Performs the initial set up for the image list.
Source position: imglist.pp line 313
protected procedure TCustomImageList.Initialize; virtual; |
Initialize is a procedure used to perform the in ital set up for the image list. Initialize creates the internal TCustomImageListResolutions class instance used to store image resolutions in the image list. The internal list used for TChangeLink notifications is also created. The internal allocation block count is set to 4.
Initialize sets the default values for the following properties:
The ClearOverlays method is called to reset any images assigned as overlay images in the image list.
Initialize is used in the Create and CreateSize constructors. Create sets the default values for the Height and Width properties to 16. CreateSize uses the arguments passed to the constructor as the value for the properties.
Initialize raises an EInvalidOperation exception if the value in the Height or Width property is invalid. Height must be in the range 1..32768, and Width must be a positive non-zero Integer value. Raised with the message in SInvalidImageSize.
|
Constructor for the class instance. |
|
|
Initializes the image list using the specified height and width. |
|
|
Clears images indexes assigned as overlay images in the image list. |
|
|
Assigns an overlay index for the specified image in the image list. |
|
|
Provides multiple image resolutions in TCustomImageList. |
|
|
Performs notifications when images are added or deleted in TImageList. |
Lazarus Component Library (LCL) | Version 3.99-1b97b99691 (2024-09-01) | Home |