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

Have custom RB controls and looking at upgrading to v9

edited January 2005 in General
I am using D7 and RB7 Pro and I have written some report controls that
inherit from TppDBText and TppDBCalc. These do useful things such as allow
you to swap the sign, format time in minutes and allow color change such as
negative numbers in red etc.

I am looking at upgrading to RB9 Pro:
1. Will I run into any problems recompiling my controls ?
2. Will my existing saved report layouts be 100% compatible ?
3. I also have my own customized report preview window and search etc, do
you see any problems here ?

Thanks

Comments

  • edited January 2005

    1. Will I run into any problems recompiling my controls ?

    You will need to make some modifications - see the article below for
    details. It is simple to do.

    2. Will my existing saved report layouts be 100% compatible ?

    Yes. We always recommend testing because sometimes customers have reports
    that expoit bugs in RB, then we fix the bugs and the reports behave
    differently.

    3. I also have my own customized report preview window and search etc, do
    you see any problems here ?

    You should be able to use your custom preview form with RB 9.



    ---------------------------------------
    Article: RB 9 Architecture Changes
    ---------------------------------------

    ReportBuilder 9 includes architecture changes to more cleanly separate
    Designer code from Report code. The code related to component popup menus
    and design controls has been broken out into separate classes.

    For an example, check out RBuilder\Demos\RCL.


    The myChkBox.pas unit contains the component classes....


    TppCustomComponent

    |
    |

    TMyCustomCheckBox

    |
    |-- TmyCheckBox
    |
    |-- TmyDBCheckBox


    The myChkBoxDesign.pas unit contains popup menu and design control classes.
    These are compiled into a separate package.


    A. Popup Menu classes....

    TppComponentPopupMenu

    |
    |

    TmyCustomCheckBoxPopupMenu

    |
    |-- TmyCheckBoxPopupMenu
    |
    |-- TmyDBCheckBoxPopupMenu


    B. Design Control classes.....



    TmyCustomCheckBoxControl

    |
    |

    TmyCustomCheckBoxPopupMenu

    |
    |-- TmyCheckBoxControl
    |
    |-- TmyDBCheckBoxControl




    --


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited January 2005
    I recently updated to 9.01 and had to recode my controls that I wrote
    - this was simple enough.

    Despite sending a support request I have not received any answer to
    the issue of drawing the controls at designtime. The code I had to
    draw the control at designtime no longer works and the 'example' given
    in the technote does not need to draw itself as it just inherits from
    the normal text control.

    Good Luck, Martin.


    On Wed, 19 Jan 2005 16:35:43 -0000, "Andrew"
This discussion has been closed.