On Sun, Oct 17, 2010 at 05:44, Martin <laza...@mfriebe.de> wrote:
> class TBase
>  FBar: TObject;
> end;
>
> class TChild(TBase)
>  function GetBar: TChildObject; // does just a typecast
>
>  // provide a property Bar to avoid type-casts
>  property Bar: TChildObject
>    read GetBar
>    write FBar; // this doesn't work
> end;

Delphi compatibility?


-- 
Alexander S. Klenin
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to