This property refers to the filename of the image when the thumbnail image is selected.
[C++Builder] thumbcontrolname->FileName
[ = UnicodeString ]
[Delphi] thumbcontrolname.FileName [
= string ]
Reference
The image file name
Explanation
The FileName property refers to the filename of the image when the thumbnail image is selected. A thumbnail image can be selected using a mouse click, the keyboard, the SelectImage method, the SelectFile or MouseMoveOnThumb event (when the EnableMouseMoveButton property is true). The filename of the image is retrieved by the SelectFile event when the thumbnail image is selected.
Note: if more than one thumbnail are selected at the same time, the FileName property will contain the filename of the last image in that group of selected images.
Setting this value
This value cannot be set.
Retrieving this value
This value can be retrieved at run-time.