I have a EnumDirs unit that does just that (it also allows for exclude filters).
Bart On 7/11/11, John Landmesser <[email protected]> wrote: > i found one problem in my unit findfile1.pas: > > inserted the compiler directive > > {$mode objfpc}{$H+} > > and now the package can be compiled to lazarus, and TFilefind appears in > my component palette. > > But there is the next problem. > If i add FileUtil to the uses clause of findfile1 -> error -> FileUtil > not found. > > But for me it's ok to have the working TFindFile in my component palette ! > > What for? It searches multiple file filters at once: *.xls;*.csv > > Do you know a fpc function that can do that? > > thanks for your help !! > > John > > > > > > > > > > > > -- > _______________________________________________ > Lazarus mailing list > [email protected] > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
