Suppress certain context menu of designer
Suppress certain context menu of designer
Hello,
in the ribbon designer I would like to suppress the context menu in the area, where you change between the different pages of a report, the preview, the code pane and so on. How can this be done?
Thanks for any help.
Regards
munich
in the ribbon designer I would like to suppress the context menu in the area, where you change between the different pages of a report, the preview, the code pane and so on. How can this be done?
Thanks for any help.
Regards
munich
Suppress certain context menu of designer
Hello Munich,
You can use following code:
Thank you.
You can use following code:
Code: Select all
Stimulsoft.Report.Design.StiMainMenuService menuService = Stimulsoft.Report.Design.StiMainMenuService.GetService();
menuService.ShowFilePageNew = false;
menuService.ShowFileFormNew = false;
menuService.ShowFilePageSetup = false;
menuService.ShowFilePageDelete = false;
Suppress certain context menu of designer
Hello Jan,
there must be a misunderstanding. Your code removes some items in the office menu opened by the application button of ribbon designer. I would like to suppress a context menu. A context menu is opened using the right mouse button.
The context menu I would like to suppress is the one opened right clicking the tabs of ribbon designer allowing to change between the page pane(s), preview pane, code pane and so on.
Regards
munich
there must be a misunderstanding. Your code removes some items in the office menu opened by the application button of ribbon designer. I would like to suppress a context menu. A context menu is opened using the right mouse button.
The context menu I would like to suppress is the one opened right clicking the tabs of ribbon designer allowing to change between the page pane(s), preview pane, code pane and so on.
Regards
munich
Suppress certain context menu of designer
Hello Jan,
I still have the items "Duplicate", "Move Left" and "Move Right" in the menu. How can I remove them too?
Yours
munich
I still have the items "Duplicate", "Move Left" and "Move Right" in the menu. How can I remove them too?
Yours
munich
Suppress certain context menu of designer
Hi Munich,
Unfortunately that is not possible at the moment, but we have added that into our to-do list and let you know when the feature is available.
Thank you.
Unfortunately that is not possible at the moment, but we have added that into our to-do list and let you know when the feature is available.
Thank you.
Suppress certain context menu of designer
Hi Munich,
The following properties will be available in the next prerelease build:
StiOptions.Designer.TabsContextMenu.ShowPageNew;
StiOptions.Designer.TabsContextMenu.ShowFormNew;
StiOptions.Designer.TabsContextMenu.ShowPageSetup;
StiOptions.Designer.TabsContextMenu.ShowPageDelete;
StiOptions.Designer.TabsContextMenu.ShowPageClone;
StiOptions.Designer.TabsContextMenu.ShowPageMoveLeft;
StiOptions.Designer.TabsContextMenu.ShowPageMoveRight;
StiOptions.Designer.TabsContextMenu.ShowPageSetup;
Merry Christmas and a happy New Year!
The following properties will be available in the next prerelease build:
StiOptions.Designer.TabsContextMenu.ShowPageNew;
StiOptions.Designer.TabsContextMenu.ShowFormNew;
StiOptions.Designer.TabsContextMenu.ShowPageSetup;
StiOptions.Designer.TabsContextMenu.ShowPageDelete;
StiOptions.Designer.TabsContextMenu.ShowPageClone;
StiOptions.Designer.TabsContextMenu.ShowPageMoveLeft;
StiOptions.Designer.TabsContextMenu.ShowPageMoveRight;
StiOptions.Designer.TabsContextMenu.ShowPageSetup;
Merry Christmas and a happy New Year!
Suppress certain context menu of designer
Dear Edward,
a happy new year too.
The StiOptions.Designer.TabsContextMenu.XXX properties work fine. But one issue is left:
When I hide all menu items a empty context menu with a small height remains. Is or will there be a possibility to hide this too?
Please excuse my persistence. I am looking forward to your answer.
Regards
munich
a happy new year too.
The StiOptions.Designer.TabsContextMenu.XXX properties work fine. But one issue is left:
When I hide all menu items a empty context menu with a small height remains. Is or will there be a possibility to hide this too?
Please excuse my persistence. I am looking forward to your answer.
Regards
munich
Suppress certain context menu of designer
Hello,
Problem fixed. Patch will be available in build from 11 Jan.
Thank you.
Problem fixed. Patch will be available in build from 11 Jan.
Thank you.
Suppress certain context menu of designer
Dear Jan,
perfect! Now the complete context menu disappears when disabling all menu items.
I thank you very much for your help.
Yours
munich
perfect! Now the complete context menu disappears when disabling all menu items.
I thank you very much for your help.
Yours
munich