Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2010-04

Changing propertie's getter procedure by code

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Guionardo Furlan

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

Reply by email