TCustomImageList.Delete procedure
Deletes the image at the specified position from all image resolutions.
Declaration
procedure Delete(AIndex: Integer)Arguments
AIndex | The index of the image deleted in the method, or -1 to delete all images. |
Description
Delete is a procedure used to delete the image stored at the
specified position from all resolutions for the image list.
AIndex contains the ordinal position for the image deleted in the
method. When AIndex contains the value
-1, all images in the
resolution are deleted.
Delete uses the Resolutions enumerator to call the
Delete method in the TCustomImageListResolution instance returned
by the enumerator. Deletes sets the internal Changed flag for the class
instance to True, and calls the Change method.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
