Delphi DFM checker

2k views Asked by At

I have next problem. Other team was changed(deleted) property from component and now some forms openings with message "Error reading form property .... does not exists". How can I check correctness dfm-file in Delphi project ?

1

There are 1 answers

1
Toon Krijthe On BEST ANSWER

You need more than a dfm checker.

The error is created if the object reads a property that it does not recognize. You have probably updated a set of (external) controls and they removed some properties.

If these are external controls, you could possibly get a list of dropped properties.

Next you can use a tool like grep (or another search tool) to find dfm files with that property. So you know which forms to open and test.

There are some other reasons that this error could occur:

  • somebody edited the dfm file by hand and made a mistake.
  • a TForm descendant is changed into a TFrame descendant.