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

Upgradeing from 7.04 to 9

edited January 2006 in Component Writing
Hi,

I've just upgraded to version 9 from 7.04, and I'm having trouble
recompiling my components. To start out ppDsgnCT is not found which I
guessed that I should replace it with ppDesignControls. However then I get
an error on the following line:
procedure CreatePopupMenu(aOwner: TComponent; var aPopupMenu:
TppPopupMenu); override;

undeclared identifier: TppPopupMenu
undeclared identifier: CreatePopupMenu

Where can I find a clear outline on what has to be done to upgrade my
components from version 7.04 to 9

Thanks

Jack

Comments

  • edited January 2006
    Hi Jack,

    The TppPopupMenu class has now been moved to its own file ppPopupMenus.pas.

    ---------------------------------------
    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


    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

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