[Lazarus] Visual Form Inheritance

Mattias Gaertner nc-gaertnma at netcologne.de
Sun May 25 15:26:07 CEST 2008


On Sun, 25 May 2008 14:41:00 +0200
Vincent Snijders <vsnijders at quicknet.nl> wrote:

> Mattias Gaertner schreef:
> > On Sat, 24 May 2008 12:00:56 -0300
> > Joao Morais <post at joaomorais.com.br> wrote:
> > 
> >> Here I cannot create something like this:
> >>
> >> (1) TAbstract = class(TForm)
> >>    Panel
> >>
> >> (2) TNotSoAbstract = class(TAbstract)
> >>    SomeButtonInsideTheInheritedPanel
> >>
> >> Form (2) works nice.
> >>
> >> (3) TConcrete = class(TNotSoAbstract)
> >>
> >> Form (3) always raise exceptions saying 'Duplicate name: A
> >> component named "Panel" already exists'. One message for each
> >> TAbstract member. 22-may snapshot. Known issue, or should I create
> >> a project that reproduces the problem and create a bug report?
> > 
> > Yes, please create a bug report.
> > 
> 
> To me, someone who doesn't use VFI, it looks similar to 
> http://bugs.freepascal.org/view.php?id=11148
> 
> It has a patch attached to it.

No, I think this is something different. The mail is about adding a
component twice (once by every stream/lfm). The bug report is about
a missing stream/lfm.


Mattias



More information about the Lazarus mailing list