Hi Hans-Peter,
On 2013-04-06 23:03, Sven Barth wrote:
> ones own classes or to build a different GUI toolkit (e.g. in theory
> Graeme could use the streaming for fpGUI as well).
I consciously decided not to use streaming in fpGUI (but in theory I
could have, yes). I do use RTTI in the fpGUI For
On 2013-04-06 18:19, Jether (yahoo) wrote:
> This doesn't make any sense to me, TB is descendent of TA, TB should never
> affect the behavior of it's ancestror TA.
TB doesn't affect the behaviour of TA. TB extends or descends from TA,
altering its own behaviour. That is the purpose of descendants
On Sat, 6 Apr 2013, Hans-Peter Diettrich wrote:
Jether (yahoo) schrieb:
This doesn't make any sense to me, TB is descendent of TA, TB should never
affect the behavior of it's ancestror TA.
Properties are evaluated at compile time. When an object reference is known
to be of type TB, the com
On 06.04.2013 21:23, Hans-Peter Diettrich wrote:
Nonetheless I don't understand what initialized properties in
non-component classes are good for, together with the observed behaviour
of default values. Can somebody point me to the according documentation?
Streaming is introduced with TPersis
Jether (yahoo) schrieb:
This doesn't make any sense to me, TB is descendent of TA, TB should
never affect the behavior of it's ancestror TA.
Properties are evaluated at compile time. When an object reference is
known to be of type TB, the compiler uses the getter/setter methods of TB.
Noneth
sunto: Re: [Lazarus] Different "default" value for a property in
derivedclass
On 4/6/13, Michael Van Canneyt wrote:
Just change the default:
TB = class(TA)
property foo default stB;
end;
Yes, that did it.
I tried something like that, but didn'