TCustomIcon.Sort procedure
Sorts the images for the icon.
Declaration
procedure SortDescription
Sorts images in the internal image list for the icon. The Sort
method in TSharedIcon is called to perform the sort, and compares
the Width/PixelFormat values in the images to determine the sort order.
Preference is given to the value in Width; if two items have the same Width,
the value in PixelFormat is used for the comparison.
Sort keeps a reference to the image in Current when it is set to a
value other than -1. The image is used to restore the value in Current
when the sort operation is completed. The IndexOf method for the internal
image list is called determine the new position for the referenced image.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
