Recent

Author Topic: How to retain delphi sort order in lfm / dfm files?  (Read 2546 times)

Joe

  • New Member
  • *
  • Posts: 24
How to retain delphi sort order in lfm / dfm files?
« on: February 27, 2016, 04:25:24 pm »
I'd recently imported a delphi 7 project to fpc / lazarus by using the the nice converter wizard.
Because I still need to maintain & build this project with delphi for a transitional period, I decide to choose "support delphi" and "use dfm files" in the converter wizard dialog.
The result was as I expect, e.g. only small changes in the dfm files were made.

But now, when e.g. changing a coordinate, lazarus wrote the dlm file with a most properties in a reorderd way. This is ugly, as I need to track minor changes in VCS.
Lazarus also adds things like "LCLVersion" and when trying to open the project with Delphi, I earn some errors because of this.

Is there a way to tell lazarus to store the dfm in a delphi 7 compatible manner?

 

TinyPortal © 2005-2018