FillFromDirectory is threaded, so the filenames will change very quickly, but you can get the filename from the ImageDraw event or from a number of other events that pass idx such as ImageIDRequest.
procedure TForm1.ImageEnMView1ImageDraw(Sender: TObject; idx, Left,
Top: Integer; Canvas: TCanvas);
var
iFilename: string;
begin
iFilename := ImageEnMView1.ImageFileName[idx];
end;
What are you using the filenames for?
William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html