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).
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
Comments
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