Page 1 of 1

TFindFile - how can I achieve "match-counting"?

PostPosted: June 18th, 2005, 9:15 am
by NoSi
Very nice component! I am not very experienced in coding Delphi so I have to confess, that I do not really understand everything that happens.

Therefore I have a question: I am trying to modify the code, to get a "match-counter" for every file, returning the count of matches of the given phrase. I need this, to achieve a simple ranking between files, which one contains a phrase most frequent.

I tried a few things (vers. 3.40, Delphi 2005 pro) but this does not work in the desired way. I would appreciate some support, if possible... .

NoSi