The Delphi form designer is very good but we need to work directly from source. Is there a tool or script that can take a batch of DFM files and convert them to Delphi source code?
4
votes
Provided the dfm files are in text format, it is readable in any text editor. To programatically operate on these files, see longevity-of-using-the-delphi-text-dfm-format-for-my-own-store-and-retriev There are TReader and TWriter classes, well documented, for these operations.
– LU RD
The forms are in text format so a non delphi IDE tool is usable/desirable
– MX4399
GExperts source is available as ToTo and Rudy says.
– LU RD
I don't understand the rationale behind this question. Text DFM files are just as editable as text PAS files. DFM files are part of the source of your program, so working "directly from source" doesn't preclude working on DFM files.
– Rob Kennedy
Please clarify the question: do you need Pascal source, or the text representation of the DFM?
– Chris Thornton
2 Answers
14
votes