[Lazarus] fpGUI

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Jan 16 23:47:22 CET 2011


On Sun, 16 Jan 2011 23:19:28 +0200
Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:

> On Sun, 2011-01-16 at 18:47 +0100, Mattias Gaertner wrote:
> > Ah, well, that is a simple solution. ;)
> 
> I did say that fpGUI's UI Designer was simple. :)  I will also say that
> the difference between Owner and Parent is highly overrated in VCL and
> LCL. Yes I fully understand the difference between them in the context
> of VCL and LCL. I just don't see a need for that in fpGUI, or even
> VCL/LCL. So fpGUI treats Owner = Parent. I would have loved to get rid
> of Owner, but unfortunately that is hardwired into TComponent (which is
> a base class I use in fpGUI). So when you create a component and set the
> Owner, fpGUI will automatically set the Parent for you, to match that
> Owner.

The "simple solution" was about not supporting references between
components. The Owner/Parent was just one example.


Mattias




More information about the Lazarus mailing list