How to hide main menu in Designer Control

Stimulsoft Reports.NET discussion
Post Reply
Markus Weiß

How to hide main menu in Designer Control

Post by Markus Weiß »

Hi,

how do i disable the main menu in the Designer Control. I tried to hide it like i did with the normal designer using the following code. But with the Designer Control - the main menu isn't displayed (how it should be) but the place of the main menu is blocked for the toolbars and therefore waist of space.

StiMainMenuService mainMenu = StiConfig.Services.GetService(typeof(StiMainMenuService)) as
StiMainMenuService;

#region Main Menu
if (mainMenu != null)
{
mainMenu.ServiceEnabled = true;
mainMenu.ShowFile = false;
mainMenu.ShowEdit = false;
mainMenu.ShowView = false;
mainMenu.ShowTools= false;
mainMenu.ShowHelp = false;
mainMenu.ShowSelectLanguage = false;
}

Thanks

Markus
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

How to hide main menu in Designer Control

Post by Vital »

Fixed. Fix will be included in next build.

Thank you.
Post Reply