Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2019-10

Convert LFM to pure code

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Torsten Bonde Christiansen

Hi all.

Is there a simple tool, plugins, or similar that allows me to easily convert a .lfm file into pure pascal code?

I know the lfm format is somewhat similar to pascal, but if such a thing already exist I would make my life a little easier :)

/Torsten

Reply by email

Mattias Gaertner
to Torsten Bonde Christiansen

On Tue, 22 Oct 2019 19:53:22 +0200
Torsten Bonde Christiansen via lazarus

Show quoted text 7 lines
Hi all. Is there a simple tool, plugins, or similar that allows me to easily convert a .lfm file into pure pascal code? I know the lfm format is somewhat similar to pascal, but if such a thing already exist I would make my life a little easier :)

If the form is loaded in the IDE, there is an addon to store it as Pascal code.
See example
lazarus/examples/pascalstream/CopyAsPasPkg/copyformaspascaldemopkg.lpk

Mattias

Reply by email

Torsten Bonde Christiansen
to Mattias Gaertner

Great, thanks!

-Torsten

Mattias Gaertner wrote 17 lines
On Tue, 22 Oct 2019 19:53:22 +0200 Torsten Bonde Christiansen via lazarus wrote: > Hi all. > > Is there a simple tool, plugins, or similar that allows me to easily > convert a .lfm file into pure pascal code? > > I know the lfm format is somewhat similar to pascal, but if such a > thing already exist I would make my life a little easier :) If the form is loaded in the IDE, there is an addon to store it as Pascal code. See example lazarus/examples/pascalstream/CopyAsPasPkg/copyformaspascaldemopkg.lpk Mattias

Reply by email