This method deletes the specified thumbnail image from Thumbnail Control.

[C++Builder]   [ bool = ]thumbcontrolname->Delete(short ImageNumber)
[Delphi]   [ Boolean = ]thumbcontrolname.Delete(ImageNumber: Smallint)

Parameters

Name Explanation
ImageNumber The sequential number of the thumbnail image (starts from 1)

Return Value

Returns True if successful, returns False when not successful.

Explanation

The Delete method deletes the specified thumbnail image from Thumbnail Control (the actual file remains). If you don't want to display the thumbnail image next time (ex. when reloading it), please delete the actual file after executing this method and when the return value is True.

By setting the sequential number of the thumbnail image into the ThumbArrayNum property prior to executing this method, the actual filename will be set in the ThumbArrayFileName, ThumbArrayPage, and ThumbArrayPathName properties.

 

The ImageKit10 VCL is a product created by Newtone Corporation