I have recently modified one of my components, and it so happens it is no longer using one of the properties it used before.
However, those properties are written in multiple .dfm files throughout the project. Now, when i try to compile the project, i get "Error reading .: Property <...> does not exist"
The complicated part is that the property value is binary data (stored in multiple lines), and i cant just delete it with Delphi replace or notepad++ regexp (since they are single-line based).
So my question would be:
Are there any third party tools or ways to easily remove properties from multiple .dfm files?
The Jedi VCL contains a tool called DFMCleaner:
It is located in jvcl-install\devtools\DFMCleaner (project with source code and example configuration file)
One possible approach is to modify your component so that it is capable of simply ignoring these properties. That way you don't have to hunt them down in each and every .dfm file.
For example:
Try this tool
Delphi DFM properties remover
, works with old versions of delphi but maybe can help you.In my case simply closing the project and deleting the DProj file helped.