Hiding menu items on Ribbon
-
- Posts: 6
- Joined: Fri Nov 19, 2021 10:13 pm
Hiding menu items on Ribbon
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
Thanks for any help,
-- John
-
- Posts: 7333
- Joined: Tue Mar 20, 2018 5:34 am
Re: Hiding menu items on Ribbon
Hello John,
You can use the following options:
StiOptions.Designer.Ribbon.ShowMainMenuReportNew = false;
StiOptions.Designer.Ribbon.ShowMainMenuReportOpen = false;
Thank you.
You can use the following options:
StiOptions.Designer.Ribbon.ShowMainMenuReportNew = false;
StiOptions.Designer.Ribbon.ShowMainMenuReportOpen = false;
Thank you.
-
- Posts: 6
- Joined: Fri Nov 19, 2021 10:13 pm
Re: Hiding menu items on Ribbon
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!
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!
-
- Posts: 7333
- Joined: Tue Mar 20, 2018 5:34 am
Re: Hiding menu items on Ribbon
Hello,
What product and version are you use?
Thank you.
What product and version are you use?
Thank you.
-
- Posts: 6
- Joined: Fri Nov 19, 2021 10:13 pm
Re: Hiding menu items on Ribbon
Stimulsoft.net, 2024.3.1.0
-
- Posts: 7333
- Joined: Tue Mar 20, 2018 5:34 am
Re: Hiding menu items on Ribbon
Hello,
We need some time to investigate the issue.
Thank you.
We need some time to investigate the issue.
Thank you.
-
- Posts: 7333
- Joined: Tue Mar 20, 2018 5:34 am
Re: Hiding menu items on Ribbon
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.
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.
-
- Posts: 6
- Joined: Fri Nov 19, 2021 10:13 pm
Re: Hiding menu items on Ribbon
Excellent! I'll keep an eye out for the next update!!
Thank you!
-- John
Thank you!
-- John
-
- Posts: 7333
- Joined: Tue Mar 20, 2018 5:34 am
Re: Hiding menu items on Ribbon
Hello John,
You are welcome.
You are welcome.