2011/11/24 Sven Barth <pascaldra...@googlemail.com> Thanks for the explanations.
In mode Delphi and my generic branch (I hope ^^) you are able to do it like > this as well: > > myV := TMyDerived.Create(False); > if myV is TFPGObjectList<TMyGen> then > ... > > Under the condition that "TMyDerived" is declared like in your previous > mail. > I think the syntax you gave should be if myV is TFPGObjectList<TControl> then I will continue learning where to use generics and where not to use them. Regards, Juha
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal