Page 1 of 1

Hiding menu items on Ribbon

Posted: Mon Aug 19, 2024 9:50 pm
by peterparker55
I'm integrating Reports.NET into our point-of-sale program using COM. I'd like to restrict our end-users from loading reports from the Designer menu. I'm using the Ribbon interface. Is it possible to hide the "New" and "Open" menu selections, so our end-users have to go through our app's interface to add reports?

Thanks for any help,

-- John

Re: Hiding menu items on Ribbon

Posted: Tue Aug 20, 2024 7:20 am
by Lech Kulikowski
Hello John,

You can use the following options:
StiOptions.Designer.Ribbon.ShowMainMenuReportNew = false;
StiOptions.Designer.Ribbon.ShowMainMenuReportOpen = false;

Thank you.

Re: Hiding menu items on Ribbon

Posted: Tue Aug 20, 2024 4:27 pm
by peterparker55
Thanks for the quick response!

ShowMainMenuReportOpen did hide the "Open", but ShowMainMenuReportNew did not hide the "New". I found though that ShowMainMenuNew did hide the "New", so all is good!

Re: Hiding menu items on Ribbon

Posted: Tue Aug 20, 2024 8:30 pm
by Lech Kulikowski
Hello,

What product and version are you use?

Thank you.

Re: Hiding menu items on Ribbon

Posted: Tue Aug 20, 2024 11:13 pm
by peterparker55
Stimulsoft.net, 2024.3.1.0

Re: Hiding menu items on Ribbon

Posted: Wed Aug 21, 2024 7:59 am
by Lech Kulikowski
Hello,

We need some time to investigate the issue.

Thank you.

Re: Hiding menu items on Ribbon

Posted: Tue Sep 10, 2024 10:09 am
by Lech Kulikowski
Hello,

We have added the following options:
//StiOptions.Designer.Ribbon.ShowMainMenuReportNew = false;
//StiOptions.Designer.Ribbon.ShowMainMenuDashboardNew = false;
//StiOptions.Designer.Ribbon.ShowMainMenuScreenNew = false;
//StiOptions.Designer.Ribbon.ShowMainMenuNew = false;
//StiOptions.Designer.Ribbon.ShowMainMenuClose = false;

Thank you.

Re: Hiding menu items on Ribbon

Posted: Tue Sep 10, 2024 4:36 pm
by peterparker55
Excellent! I'll keep an eye out for the next update!!

Thank you!

-- John

Re: Hiding menu items on Ribbon

Posted: Tue Sep 10, 2024 4:44 pm
by Lech Kulikowski
Hello John,

You are welcome.