[fpc-devel] properties accessing field of nested object ?
lazarus at mfriebe.de
Sun May 12 23:53:51 CEST 2013
I know a property read/write to a member of a record, if that record is
a field of the class.
I tested the following code, it seems fpc also allows that for classes.
TFoo = class
TForm1 = class(TForm)
property b: Integer read a.cn write a.cn;
I have not tested it at runtime.... I assume it depend on a being
initialized with an instance.
Question, is that allowed by intention? That is can I trust that it will
be supported by future fpc versions?
Or is that a missing check somewhere, and bay stop working in future?
More information about the fpc-devel