Search DFM File using Delphi IDE

delphi

Solution

I'm using the GExperts grep and it works very well with dfm when you check "Search Form Files"

(source: gexperts.org)

Update: why I prefer GExperts to D2010 "Find In Files"...

- I work with D2007 as well as D2010. I can use the same search tool consistently in both.

- You can limit your search to Open/All-in-project/All-in-project-group and still get the dfm, while in D2010 you get the dfm only for directories and it does not even work in D2007.

- I can use both if I want.

Problem

Is there a way within the Delphi to search within the dfm files for a string? When I try the Search->Find in Files specifying .dfm it does not work. However, if I change all the extensions from dfm to txt and specify .txt as the extension it works.

Original source