Michael Van Canneyt wrote:
> On Thu, 11 May 2006, Micha Nelissen wrote:
> > Al Boldi wrote:
> >>>> 2. Replace the delphi dfm with a real code init (java style).
> >>>
> >>> What are the advantages?
> >>
> >> Easier component creation control/management via ONE language.
> >
> > Management of custom modified code is a PITA and will be a failure for
> > big complex forms. Separate DFM/LFM is one *the* best things of Delphi
> > (and Lazarus), nice separation of layout and behaviour.
>
> My opinion too.

Separation of layout and behaviour would still hold, only w/o requiring a 
special scripting language.

Remember, the DFM thing is really a copy-cat of VB's FRM format.

So from a modularization POV it's great, but from an implementation POV it 
feels like someone who has no-clue (script-addict) implemented it.

> GExperts has an expert 'Components to code' which could be easily ported
> to Lazarus. This can create a procedure which recreates (in code) a
> number of selected components.
>
> This can be a useful addition.

I agree, but remember that this should be 2-way, so some design time plugin 
would be necessary.

Thanks!

--
Al

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to