[fpc-devel] property cam access private symbol from class in other unit
DrDiettrich1 at aol.com
Thu Jan 5 11:34:13 CET 2012
> Note, that I am not accessing a private field of the parent class (like
> in the link).
> TForm1 = class(TForm)
> FFoo: TFoo;
> property Num: Integer read FFoo.FBar;
When FFoo is a pointer or reference, it IMO should not be possible at
all, to select a member of it in a property. AFAIR Delphi only allows
for access to Record (or Object) members, which reside inside the instance.
More information about the fpc-devel