var
myFileListbox:TFileListbox;
i:integer;
myBMP:TBitMap;
begin
myFileListbox:=TFileListbox.create(Self);
myFileListbox.parent:=form1;
myFileListbox.Directory:=ExtractFilePath(Application.ExeName);
myFileListbox.mask:='*.bmp';
for i:=0 to myFileListbox.Count-1 do
begin
myBMP:=TBitMap.Create;
myBMP.Canvas.Brush.Style:=bsclear;
myBMP.LoadFromFile(myFileListbox.Items);
myBMP.Canvas.TextOut(0,0,DateTimeToStr(now));
myBMP.SaveToFile(myFileListbox.Items);
myBMP.Free;
end;
myFileListbox.Free;
end;