DFM/LFM in Lazarus WAS: RE: [lazarus] How I can participeinLazarus?.....
Michael Van Canneyt
michael.vancanneyt at wisa.be
Tue Jun 20 09:47:05 EDT 2000
On Tue, 20 Jun 2000, Shane Miller wrote:
> So, do we have a time frame when this will be worked on?
Not in the nearest weeks, that is for sure. Too much regular work :(
>
> My main interest is getting Lazarus to be able to compile and run programs.
> I need the DFM's to build the hidden create's and such behind the scenes so
> that I can get lazarus to actually compile AND run a working program.
> I have it compiling but the control's are never really "create"d because
> the code isn't there for that.
A quick hack would be to convert a .dfm to the following:
Procedure TMyForm.CreateForm;
begin
Button1:=TButton.Create(Self);
Button1.Parent:=Self;
Button1.Top:=15;
Button1.Left:=100;
// etc
end;
That should be easy to do.
Michael.
>
> Shane
>
>
> >>> michael.vancanneyt at wisa.be 06/20/00 07:58AM >>>
>
>
> On Tue, 20 Jun 2000, Sebastian [iso-8859-1] Gnnther wrote:
>
> > Shane Miller wrote:
> > >
> > > Could someone explain to me how it works please.
> >
> > Reading DFM files simply doesn't work yet. (that writing should work is
> > new for me...
>
> Not DFM files, but I did create text files with the textwriter.
>
> > )
> > And adding reading support is not a matter of a few hours of work, this
> > is a really heavy task if it should be implemented properly. I already
> > had a look on this over 8 months ago, and it will still need a few weeks
> > until I can try to add full serialisation support to FCL.
>
> If it was easy, it would probably have been done a long time ago :(
>
> Michael.
>
> _________________________________________________________________
> To unsubscribe: mail lazarus-request at miraclec.com with
> "unsubscribe" as the Subject
> archives at http://www.miraclec.com/list_archives/lazarus
>
> _________________________________________________________________
> To unsubscribe: mail lazarus-request at miraclec.com with
> "unsubscribe" as the Subject
> archives at http://www.miraclec.com/list_archives/lazarus
>
More information about the Lazarus
mailing list