Hi Nigel,
Thanks for your response. Sorry to hear that for now the AutoRefresh is not working for subfolder. Hopefully you are considering to implement it one day.
For those who are interested, I found a temporary workaround, using TFolderMon (class source code with example project can be downloaded from http://forum.codecall.net), where I refresh the TImageEnFolderMView1 component whenever the instance of TFolderMon is triggered:
procedure HandleFolderChange(ASender: TFolderMon; AFolderItem: TFolderItemInfo);
begin
TImageEnFolderMView1.LockUpdate;
TImageEnFolderMView1.IncludeSubFolders := false;
TImageEnFolderMView1.RefreshFileList;
TImageEnFolderMView1.IncludeSubFolders := true;
TImageEnFolderMView1.UnlockUpdate;
end;
It so happens that the folder images are refreshed instantly, and correctly follows the changes in the root- and all subfolders. To avoid multiple triggers, I have disabled the AutoRefresh property of the TImageEnFolderMView1 component.
There are some drawbacks: a short flickering of the thumbnail images, and since I also used checkboxes I need to recheck them again. So far this works to my satisfaction.
In addition, the AFolderItem provides additonal information about the occurrence inside the folder: [faNew, faRemoved, faModified, faRenamedOld, faRenamedNew].
Hopefully users are helped with this workaround.
Sybren