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

Bring to front in code

edited June 2004 in General
hi,

I need to bring to front or back some shapes and Labels in RAP code. I
haven't found a solution yet. please help me !

I try to traverse a dataSource like a cursor in code too, but i think
it's not possible. if you have any information about this, I'm
listening :)

thanks

Comments

  • edited June 2004
    Hi Emmanuel,

    Unfortunately the BringToFront and SendToBack methods are not natively
    supported in RAP. You will need to create a pass-thru function to enable
    this feature.

    --------------------------------------------------
    Article: Extending RAP
    ---------------------------------------------------

    There are two very simple and powerful techniques to extend the capabilities
    of RAP infinitely. These are summarized below and covered in more detail in
    the RAP.hlp online help. Demos and tutorials are installed to
    RBuilder\Demos\RAP. The tutorial text is located in RAP.hlp.


    1. RAP Pass-Through Functions

    These are functions that appear in the Language tab of RAP's Code Toolbox.
    These functions are written in Delphi and can be called from RAP. RAP's
    pass-through function architecture enable's developers to add new built-in
    functions to RAP's code toolbox.

    2. Extend RAP's RTTI

    RAP's Run-time Type information defines what classes and properties can be
    accessed via RAP. By default the published properties of any class that is
    registered with Delphi's RegisterClass procedure is recognized by RAP. In
    addition many of the public properties and methods of ReportBuilder classes
    are exposed.

    --
    Thanks for supporting ReportBuilder! Please vote for ReportBuilder in the
    Delphi Informant Readers Choice awards!

    http://www.delphizine.com/ballot2004/

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited June 2004
    thanks, i'll try without it.

    what about retrieving informations from DB in code ? is it possible ?
    I'm trying to generate a tab with a procedure, in one table, there are
    the titles of the colums, and values are in an other table.

    thanks,

    On Wed, 23 Jun 2004 10:13:51 -0600, "Nico Cizik \(Digital Metaphors\)"
  • edited June 2004
    Hi Emmanuel,

    As far as retrieving data from a datset component on a form, this is not
    possible in RAP without the use of a passthru function. If you created your
    datasets in DADE, you could possible join the two tables you need and access
    the data directly using the Report.Datapipeline property in Dade. Note that
    you will be forced to traverse the data as ReportBuilder traverses it while
    generating.

    --
    Thanks for supporting ReportBuilder! Please vote for ReportBuilder in the
    Delphi Informant Readers Choice awards!

    http://www.delphizine.com/ballot2004/

    Best Regards,

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