DELPHI AREA
MESSAGE BOARD
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TFindFile v3.40

 
   Reply to topic    DELPHI AREA Forum Index -> DELPHI AREA's Products
View previous topic :: View next topic  
Author Message
PeterPanino
Member


Joined: 25 Aug 2004
Posts: 4

PostPosted: 25/08/04 22:46    Post subject: TFindFile v3.40 Reply with quote

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
Back to top
View user's profile
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 386
Location: Tehran, Iran

PostPosted: 26/08/04 15:47    Post subject: Reply with quote

While you have set

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

Instead of using OnFileMatch, use OnFolderChange event.
Back to top
View user's profile Send e-mail Visit poster's website
PeterPanino
Member


Joined: 25 Aug 2004
Posts: 4

PostPosted: 27/08/04 13:33    Post subject: Reply with quote

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
Back to top
View user's profile
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 386
Location: Tehran, Iran

PostPosted: 27/08/04 16:16    Post subject: Reply with quote

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.
Back to top
View user's profile Send e-mail Visit poster's website
PeterPanino
Member


Joined: 25 Aug 2004
Posts: 4

PostPosted: 27/08/04 20:11    Post subject: Reply with quote

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

Thanks,
Peter
Back to top
View user's profile
Display posts from previous:   
   Reply to topic    DELPHI AREA Forum Index -> DELPHI AREA's Products All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB 2.0.6 © 2001, 2002 phpBB Group