Page 1 of 1

TFindFile v3.40

PostPosted: August 25th, 2004, 10:46 pm
by PeterPanino
I would like to search for directories (hidden and not hidden).
If I set the following properties:

ffDirectory := True;
ffHidden := True;
ExactMatch := False;

then it finds directories AND hidden files (I don't want files - only directories).

If I set:
ExactMatch := True;
then it finds only hidden directories (no visible directories).

So how can I find hidden AND not hidden directories?

Thanks,
Peter

PostPosted: August 26th, 2004, 3:47 pm
by Kambiz
While you have set

Code: Select all
ffDirectory := True;
ffHidden := True;
ExactMatch := False;

Instead of using OnFileMatch, use OnFolderChange event.

PostPosted: August 27th, 2004, 1:33 pm
by PeterPanino
Thank you for the advice!

I've another problem with TFindFile:

In Included wildcards seem to be supported only for the filename part!

But it would be very helpful if it could find files in paths like:

m:\dir1*\dir2\*

This would be very helpful! (And I need it).

Yes, I know I could use very complex workarounds to get this functionality, but it would be cumbersome ...

Thanks,
Peter

PostPosted: August 27th, 2004, 4:16 pm
by Kambiz
Adding such kind of mask checking could be very time consuming, and most of the component's users don't need it. So, you have to make it yourself, sorry.

PostPosted: August 27th, 2004, 8:11 pm
by PeterPanino
You could include it as an option (default off)?

Thanks,
Peter