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

Pass-through Objects

edited October 2011 in RAP
I know how to do pass-through functions, but not pass-through objects. For
example, is it possible to make TIniFile available to RAP?

Comments

  • edited October 2011
    Hi Steve,

    If a class has been registered with Delphi using the RegisterClass
    procedure, it should be recognized by RAP (along with all published
    properties).

    It is possible to extend this support by using Object RTTI classes. We
    do this for many of our classes such as the report controls (Label,
    DBText, Line, etc.) as well as a number of Delphi classes such as
    TStringList and TGraphic. See ppCtrls.pas file for an example of how to
    create and register new Object RTTI classes. Also take a look at the
    following articles which also may be helpful in extending RAP.

    http://www.digital-metaphors.com/rbWiki/RAP/Extending_RAP

    Best Regards,

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