## TFindFile v3.40

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

### TFindFile v3.40

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
PeterPanino
Member

Posts: 4
Joined: August 25th, 2004, 10:35 pm

While you have set

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

Instead of using OnFileMatch, use OnFolderChange event.

Kambiz

Posts: 2428
Joined: March 7th, 2003, 7:10 pm

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
PeterPanino
Member

Posts: 4
Joined: August 25th, 2004, 10:35 pm

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.

Kambiz

Posts: 2428
Joined: March 7th, 2003, 7:10 pm

You could include it as an option (default off)?

Thanks,
Peter
PeterPanino
Member

Posts: 4
Joined: August 25th, 2004, 10:35 pm