Access Violation Setting Visible property
D2K5, RB10.02
I have just upgraded to 10.02 and a line of code that use to work to hide
the help item on the menu of the report explorer is now causing an access
violation. The line of code is:
ppReportExplorer1.Form.Menu.Items[2].visible:=false;
Is there some way for me to hide the help menu in the new version, or some
work around?
David Miller
I have just upgraded to 10.02 and a line of code that use to work to hide
the help item on the menu of the report explorer is now causing an access
violation. The line of code is:
ppReportExplorer1.Form.Menu.Items[2].visible:=false;
Is there some way for me to hide the help menu in the new version, or some
work around?
David Miller
This discussion has been closed.
Comments
ReportBuilder 10 has uses new menu and toolbar classes.
Here is an example of hiding the report explorer help menu. I tested this
code using RB 10.02 and the report explorer patch. Send a request to
support@digital-metaphors.com to receive the patch.
uses
ppExpFrm;
TppReportExplorerForm(ppReportExplorer1.Form).MenuBar.HelpMenu.Visible :=
False;
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com