質問

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 ?

役に立ちましたか?

解決

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.
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top