Is it possible that I can declare TAlignment, TTextLayout or TFontStyles type of parameter in my custom report event and pass to the report script? Any sample for this kind?
Yes this should be possible to do in either RAP or Delphi. You will need to add the RTTI methods and method calls to your code as well as declair any needed constants. For an example of how to do this, please see the ppVar.pas file in the TppVariable and TraTppVariableRTTI classes. The RTTI methods are defined in the TraTppVariableRTTI class and the method calls are made in the TppVariable.DoOnCalc procedure.
Comments
Yes this should be possible to do in either RAP or Delphi. You will need to
add the RTTI methods and method calls to your code as well as declair any
needed constants. For an example of how to do this, please see the
ppVar.pas file in the TppVariable and TraTppVariableRTTI classes. The RTTI
methods are defined in the TraTppVariableRTTI class and the method calls are
made in the TppVariable.DoOnCalc procedure.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com