This method determines if the specified thumbnail image is selected.

[C++Builder]   [ bool = ]thumbcontrolname->IsSelected(short ImageNumber)
[Delphi]   [ Boolean = ]thumbcontrolname.IsSelected(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 the thumbnail is not selected or the method is not successful.

Explanation

The IsSelected method determines if the specified thumbnail image is selected. This method is used to retrieve information about a thumbnail image that has been selected by the mouse, by the keyboard, or by the SelectImage method. By passing the value returned in the ImageNumber parameter of this method to the ThumbArrayNum property, the image filename, page number (for multi-page images), and full path can be retrieved from the ThumbArrayFileName, ThumbArrayPage, and ThumbArrayPathName properties.

 

The ImageKit10 VCL is a product created by Newtone Corporation