I would like to replace getter / setter for properties with RTTI.
I know that you can access the getter device using TPropInfo.SetProc / GetProc, and I know that these fields point to different data if the property uses virtual methods, direct access to fields or static methods.
I am interested in changing setters / getters that point to virtual methods using custom virtual methods.
TRttiInstanceProperty(RttiProperty).PropInfo^.SetProc := ?
TRttiInstanceProperty(RttiProperty).PropInfo^.GetProc := ?
source
share