Am 03.02.2015 12:56 schrieb "Torsten Bonde Christiansen" :
> So FieldAddress can only access published fields?
Correct. For anything else you'll have to wait till we have Delphi's
extended RTTI.
Regards,
Sven
___
fpc-pascal maillist - fpc-pascal@lists
On 2015-02-03 12:30, silvioprog wrote:
On Tue, Feb 3, 2015 at 6:17 AM, Torsten Bonde Christiansen
mailto:t...@epidata.info>> wrote:
Hi,
What does it take for a class to access a field using
FieldAddress(...)?
I have tried with both typeinfo on/off ({M+}), placing the field
On Tue, Feb 3, 2015 at 6:17 AM, Torsten Bonde Christiansen
wrote:
> Hi,
>
> What does it take for a class to access a field using FieldAddress(...)?
>
> I have tried with both typeinfo on/off ({M+}), placing the field in
> private/protected/public/published
> sections but to no avail.
>
> My sim
Hi,
What does it take for a class to access a field using FieldAddress(...)?
I have tried with both typeinfo on/off ({M+}), placing the field in
private/protected/public/published
sections but to no avail.
My simple code is:
TMyObject = class
private
FRef: TMyObject;
procedure SetRef(AVa