How to supress the Help menu in the Calc tab ?
Hi,
To supress the Help menu in the Calc I create a MainMenu with groupindex
= 50, set the visible to false and merged it into the ppDesigner
(MergeMenu).
This works with Help menu in the Design tab but don´t with help in the
Calc tab.
How should I do to hide the tab Calc Help ?
I´m using Report Builder 12.02 & Delphi 2007.
Thank you.
Samuel
www.natsam.com.br
To supress the Help menu in the Calc I create a MainMenu with groupindex
= 50, set the visible to false and merged it into the ppDesigner
(MergeMenu).
This works with Help menu in the Design tab but don´t with help in the
Calc tab.
How should I do to hide the tab Calc Help ?
I´m using Report Builder 12.02 & Delphi 2007.
Thank you.
Samuel
www.natsam.com.br
This discussion has been closed.
Comments
The correct name of the sender is Samuel.
I´m putting a new post with my question.
Sorry
Samuel
www.natsam.com.br
Em 07/10/2010 18:44, Digital-Metaphors escreveu:
Take a look at the following article on how to hide the DADE menu items.
The same concept can be used to hide the RAP menu items.
http://www.digital-metaphors.com/rbWiki/End-User/Designer/How_To...Hide_DADE_Menu_Items
uses
raIDE;
procedure TForm1.ppDesigner1TabChanged(Sender: TObject);
var
lSubMenu: TppTBCustomItem;
lCodeFileMenu: TraCodeFileSubMenu;
begin
if (ppDesigner1.Notebook.ActivePageIndex = 1) then //Calc tab
begin
// this can be used to get at any menu times
lSubMenu := ppDesigner1.Menu.Items[0]; // get file menu
ShowMessage(lSubMenu.Items[0].Caption);
if (lSubMenu is TraCodeFileSubMenu) then
begin
lCodeFileMenu := TraCodeFileSubMenu(lSubMenu);
lCodeFileMenu.Export.Visible := False; // hide Export menu item
end;
end;
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com