[Lazarus] Visual Form Inheritance

Vincent Snijders vsnijders at quicknet.nl
Sun May 25 14:41:00 CEST 2008


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.

Vincent



More information about the Lazarus mailing list