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

Merge menus RB7 vs RB10 - specifically report Explorer

edited February 2006 in General
Nard,

Could you give me the specifics for modifying the menu for
the ReportExplorer component? Your example doesn't
mention this component and I'm not clear how to handle
the difference (compared to the Designer).

Thanks,

Jon

Comments

  • edited March 2006

    1. One option is to replace the ReportExplorerForm. The default form is
    defined in ppExpFrm and registered in the initialization section at the
    bottom of the unit. You can copy the form to a new unit and then make
    whatever changes you need.

    2. Another option is to use the TppReportExplorer.OnShow event to access the
    TppReportExplorer.Form property. Then you could loop thru the Form.Controls
    and find the menu bar. (We need to add the menu bar as a property). The
    TppExplorerMenu class is defined in ppRptExpCommon.pas.

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.