Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Report event parameter type

edited October 2003 in General
Hi

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?


Thanks

William

Comments

  • edited October 2003
    Hi William,

    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.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.