Martin schrieb:
Note, that I am not accessing a private field of the parent class (like
in the link).
TForm1 = class(TForm)
public
FFoo: TFoo;
property Num: Integer read FFoo.FBar;
end;
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.
DoDi
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel