[fpc-pascal] Changing propertie's getter procedure by code

Guionardo Furlan guionardo at gmail.com
Tue Apr 20 20:10:20 CEST 2010


Hello "Lazarentos"

I created a base class that uses RTTI to link the properties of child
classes to fields of a TDataset.
I need to modify the base class getter method for each property.
Checking the sources of methods RTTI, the point is PPropInfo.GetProc.
So how to assign the address of a method to override the PPropInfo.GetProc
each property?

Sorry, google translate this.

-- 
Timeo hominem unius libri
Cogito ergo sum - Carpe diem

[]s
Guionardo Furlan
http://guionardo.blogspot.com
http://www.guionardofurlan.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20100420/899c1cd9/attachment.html>


More information about the fpc-pascal mailing list