TFindFile v3.40

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

TFindFile v3.40

Postby PeterPanino » August 25th, 2004, 10:46 pm

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
Member
 
Posts: 4
Joined: August 25th, 2004, 10:35 pm

Postby Kambiz » August 26th, 2004, 3:47 pm

While you have set

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

Instead of using OnFileMatch, use OnFolderChange event.
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Postby PeterPanino » August 27th, 2004, 1:33 pm

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
PeterPanino
Member
Member
 
Posts: 4
Joined: August 25th, 2004, 10:35 pm

Postby Kambiz » August 27th, 2004, 4:16 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.
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Postby PeterPanino » August 27th, 2004, 8:11 pm

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

Thanks,
Peter
PeterPanino
Member
Member
 
Posts: 4
Joined: August 25th, 2004, 10:35 pm


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 1 guest

cron