| View previous topic :: View next topic |
| Author |
Message |
PeterPanino Member
Joined: 25 Aug 2004 Posts: 4
|
Posted: 25/08/04 22:46 Post subject: 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 |
|
| Back to top |
|
 |
Kambiz Administrator

Joined: 07 Mar 2003 Posts: 386 Location: Tehran, Iran
|
Posted: 26/08/04 15:47 Post subject: |
|
|
While you have set
| Code: | ffDirectory := True;
ffHidden := True;
ExactMatch := False; |
Instead of using OnFileMatch, use OnFolderChange event. |
|
| Back to top |
|
 |
PeterPanino Member
Joined: 25 Aug 2004 Posts: 4
|
Posted: 27/08/04 13:33 Post subject: |
|
|
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 |
|
 |
Kambiz Administrator

Joined: 07 Mar 2003 Posts: 386 Location: Tehran, Iran
|
Posted: 27/08/04 16:16 Post subject: |
|
|
| 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 |
|
 |
PeterPanino Member
Joined: 25 Aug 2004 Posts: 4
|
Posted: 27/08/04 20:11 Post subject: |
|
|
You could include it as an option (default off)?
Thanks,
Peter |
|
| Back to top |
|
 |
|