TImageEnMView.FilenameToIndex
Declaration
function FilenameToIndex(const Filename: string): Integer;
Description
Returns the index of the specified filename or -1 if the file does not exist in the list.
Filename must be a full path (file folder and name).
Example
// Set caption of "Image.jpg" to "Cool Image"
idx := IEFolderMView.FilenameToIndex('C:\My Images\Image.jpg');
if idx >= 0 then
IEFolderMView.ImageInfoText[idx].Caption := 'Cool Image';