Hide/Modify Menu Item
I would like to replace the Help menu item of the Report Explorer. I
have already replaced the Help menu item in the Designer using the code
from the rbWiki but don't have comparable code for the Explorer.
Using the MergeMenu property I can add the new help item and even
overwrite the existing help for the Report Explorer but end up with a
small memory leak.
I would appreciate any suggestions on writing the required code to hide
the Report Explorer help menu item.
JonD
have already replaced the Help menu item in the Designer using the code
from the rbWiki but don't have comparable code for the Explorer.
Using the MergeMenu property I can add the new help item and even
overwrite the existing help for the Report Explorer but end up with a
small memory leak.
I would appreciate any suggestions on writing the required code to hide
the Report Explorer help menu item.
JonD
This discussion has been closed.
Comments
You can access the explorer menu directly by typecasting the Form
property. For instance, if you would like to hide the Help menu, you
would add the following line of code before the explorer loads.
uses
ppExpFrm;
TppReportExplorerForm(ppReportExplorer1.Form).MenuBar.HelpMenu.Visible
:= False;
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
so simple and easy (when you know how).
I had tried several other more complex solutions that did not work!
JonD