Jump to content
nouvakis

TIcsFileCopy.SelectCopyFileList

Recommended Posts

SelectCopyFileList ignores IgnorePaths below COMPILER10_UP.

a workaround would be

 

{$IFDEF COMPILER10_UP}   { only supported D2006 and later }
    IgnorePathList.StrictDelimiter := True;
    IgnorePathList.DelimitedText := AnsiLowerCase (IgnorePaths) ;
{$ELSE}
    IgnorePathList.DelimitedText := '"' + StringReplace(AnsiLowerCase(IgnorePaths), IgnorePathList.Delimiter, '"' + IgnorePathList.Delimiter + '"', [rfReplaceAll]) + '"';
{$ENDIF}

Share this post


Link to post
19 minutes ago, Angus Robertson said:

Yes, I was being lazy and hoping no-one would use that feature on Delphi 7, I'll add your fix next week.

 

Angus

 

thanks a lot

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×