Thanks. I'll look into TMaskList. I assume you mean this bit of code? https://github.com/alrieckert/lazarus/blob/master/components/lazutils/masks.pas
I am not sure how much this slows things down, and the checking if a file has already been added only happen on per directory basis, meaning the list is emptied with each folder and the search if already exists is reset to zero each time search enters a new folder. I will look into this though. Thank you for your feedback.
-- _______________________________________________ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus