TFindfile and filters

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

TFindfile and filters

Postby Jean-Philippe » January 21st, 2009, 8:52 am

Hi all,

I've a problem with the Findfile component (version 4.01) and filtering filenames
If I put
*.dat
readme.txt
*.out
in the filters list, all .dat and .out files will be rejected but readme files will be still in the result.

And if I just put
readme.txt
readme files will be present

Is it normal or I'm doing something wrong?

By the way, is filtering case sensitive?

Regards

Jean-Philippe
Jean-Philippe
Member
Member
 
Posts: 4
Joined: January 20th, 2009, 4:15 pm

Re: TFindfile and filters

Postby Kambiz » January 21st, 2009, 9:40 am

Hi,

This is the correct expression:

Code: Select all
*\readme.txt

Filtering is not case sensitive.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Re: TFindfile and filters

Postby Jean-Philippe » January 21st, 2009, 12:27 pm

Sorry but I've still the readme.txt files in the result

Jean-Philippe
Jean-Philippe
Member
Member
 
Posts: 4
Joined: January 20th, 2009, 4:15 pm

Re: TFindfile and filters

Postby Kambiz » January 21st, 2009, 4:08 pm

Was a bug, sorry.

On line #838, replace True with False.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Re: TFindfile and filters

Postby Jean-Philippe » January 22nd, 2009, 9:07 am

It seems to work this time

Thank you for your great job

Jean-Philippe
Jean-Philippe
Member
Member
 
Posts: 4
Joined: January 20th, 2009, 4:15 pm


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 1 guest

cron