Good ... Not sure if you wanted to find a way to search from the Delphi IDE or from Windows. From the Delphi IDE, as François mentioned, finding GEXpert GREP does the job. In order for Windows to read DFM / PAS files, you need to add several registry keys to enable them in Windows XP and later. Save the following content in a * .reg file and double-click it to install it in the registry. (Note that this works in WinXP. I have not tried it in Win7 / Vista)
Some of these keys may not be required ... I just copied the material from the key [HKEY_CLASSES_ROOT\.txt] . ^ _ ^
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\.dfm] "PerceivedType"="text" "Content Type"="text/plain" [HKEY_CLASSES_ROOT\.dfm\PersistentHandler] @="{5e941d80-bf96-11cd-b579-08002b30bfeb}" [HKEY_CLASSES_ROOT\.pas] "PerceivedType"="text" "Content Type"="text/plain" [HKEY_CLASSES_ROOT\.pas\PersistentHandler] @="{5e941d80-bf96-11cd-b579-08002b30bfeb}"
Ken bourassa
source share