This doesn't make any sense to me, TB is descendent of TA, TB should never
affect the behavior of it's ancestror TA.
Jether Fernandes Reis
-----Mensagem Original-----
De: "Bart" <[email protected]>
Para: "Lazarus mailing list" <[email protected]>
Enviada em: sábado, 6 de abril de 2013 11:52
Assunto: Re: [Lazarus] Different "default" value for a property in
derivedclass
On 4/6/13, Michael Van Canneyt <[email protected]> wrote:
Just change the default:
TB = class(TA)
....
property foo default stB;
end;
Yes, that did it.
I tried something like that, but didn't get the syntax right.
Thanks a lot.
Bart
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus