[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Sorts the images for the icon.
Source position: graphics.pp line 1674
public procedure TCustomIcon.Sort; |
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.
|
Ordinal position for the current image displayed for the icon. |
|
|
Implements a reference-counted shared Icon image type. |
|
|
TIconImage - a primitive Icon class with handles for the Bitmap, Mask and Palette. |
Version 3.2 | Generated 2024-02-25 | Home |