TAdvDirectoryTreeView and Filter

In recent changes (I've matched 13.5.2.1 vs 13.5.3.0) the Filter property used by TAdvDirectoryTreeView does not work fine, and is able to understand only one match in the Filter (eg: Filter := '.ngc') but ignores composite filters ('.ngc;.txt;.iso;*.nc) catching only *.ngc.

The issue seems to be in AdvUtils MatchStrEx function.

I've brutally overwrite AdvUtils.pas from 13.5.2.1 to 13.5.3.0 (just to test) and it works fine.

Projects.zip (75.0 KB)

We did changes to how the filtering works especially for filtering against empty values.
We'll investigate to fix this regression.

We'll fix this here, in the mean time you can also use

AdvDirectoryTreeView1.Filter := '*.dpr|*.res';

With the new tms.vcl.uipack 13.5.4.0 the file filter is back to be full compatibile with VCL Filter rules.

A big thank you to your development team for the professionalism they always show on our reports.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.