This method sorts the thumbnail images.
[C++ Builder] [bool =
]thumbcontrolname->SortImage()
[Delphi] [Boolean =
]thumbcontrolname.SortImage
Parameters
None
Return Value
Returns True (nonzero) when successful, returns False (0) when not successful.
Explanation
The SortImage method sorts the thumbnail images. When executing this method, appropriate values must be set in advance for the Sort, SortDate, SortOrder properties.
For example, if you drag and drop image files from Windows Explorer onto the Thumbnail control and then want to sort the images, you would use this method. (When image files are first loaded into the Thumbnail control they are sorted by the GetFiles method).
Please note that the sorting may be different if thumbnail images have been moved in advance in the Thumbnail control, or if images are loaded from thumbnail files (ThumbnailFile property).