Disable functionality in the designer and preview
danni
Denmark
Hi, i have some functionality I want to disable in the designer.
I want to remove the following if possible?
The main menu
Data-> "Add data source"
View->Options -> Plugins
File-> Select Language
Help
The "data" Dock window
- Actions
- mouse rightclick Contextmenus
- New data source
In the Preview Control I want to disable the following
the button "Send by Email"
the "Open" button
Thank you
I want to remove the following if possible?
The main menu
Data-> "Add data source"
View->Options -> Plugins
File-> Select Language
Help
The "data" Dock window
- Actions
- mouse rightclick Contextmenus
- New data source
In the Preview Control I want to disable the following
the button "Send by Email"
the "Open" button
Thank you
Comments
1,2) wait for the next build and you will able to do this:
3) Set Config.PreviewSettings.Buttons to set of buttons you wish to see.
Thank you very much.
before this
FastReport.Design.StandardDesigner.DesignerMenu mMenu = fmDesignerCtl.Plugins.FindType("FastReport.Design.StandardDesigner.DesignerMenu") as FastReport.Design.StandardDesigner.DesignerMenu;
if (mMenu == null)
{
mMenu = fmDesignerCtl.Plugins.Find("MainMenu") as FastReport.Design.StandardDesigner.DesignerMenu;
}
if (mMenu != null)
{
mMenu.miFileSaveAs.Visible = false;
}