Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi DFM checker

Tags:

delphi

dfm

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 ?

like image 859
YoungMaster Avatar asked Jul 08 '26 18:07

YoungMaster


1 Answers

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.
like image 196
Toon Krijthe Avatar answered Jul 10 '26 14:07

Toon Krijthe



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!