Ryan Joseph via fpc-pascal
2021-04-04 17:12:43 UTC
I'm trying to see fields by name but TObject.FieldAddress doesn't seem to be working. Do I have that correct I should be using FieldAddress to return the pointer of the published property? Some how I can't seem to find an example of FieldAddress on Google....
type
TSomething = class(TPersistent)
private
m_scale: integer;
published
property scale: integer read m_scale write m_scale;
end;
Regards,
Ryan Joseph
_______________________________________________
fpc-pascal maillist - fpc-***@lists.freepascal.org
https://lists.freepascal.o
type
TSomething = class(TPersistent)
private
m_scale: integer;
published
property scale: integer read m_scale write m_scale;
end;
Regards,
Ryan Joseph
_______________________________________________
fpc-pascal maillist - fpc-***@lists.freepascal.org
https://lists.freepascal.o