I tried to integrate the report designer into a small mdi application for our "end users". How can i can i disable the messages window in the designer using code and how can i control the sort order of the tabbed windows dictionaries, properties and report tree.
Thanks for your help
How to remove the messages window from the designer
How to remove the messages window from the designer
Please use following code:How can i can i disable the messages window in the designer using code
Code: Select all
Stimulsoft.Report.Design.Panels.StiMessagesPanelService messages =
Stimulsoft.Report.Design.Panels.StiMessagesPanelService.GetService();
messages.ServiceEnabled = false;
Please use following code:how can i control the sort order of the tabbed windows dictionaries, properties and report tree
Code: Select all
Stimulsoft.Report.Design.Panels.StiPropertiesPanelService properties =
Stimulsoft.Report.Design.Panels.StiPropertiesPanelService.GetService();
Stimulsoft.Report.Design.Panels.StiReportTreePanelService reportTree =
Stimulsoft.Report.Design.Panels.StiReportTreePanelService.GetService();
Stimulsoft.Report.Design.Panels.StiDictionaryPanelService dictionary =
Stimulsoft.Report.Design.Panels.StiDictionaryPanelService.GetService();
StiConfig.Services.Remove(properties);
StiConfig.Services.Remove(reportTree);
StiConfig.Services.Remove(dictionary);
//Add panels in correct order
StiConfig.Services.Add(properties);
StiConfig.Services.Add(reportTree);
StiConfig.Services.Add(dictionary);
Code: Select all
StiOptions.Designer.DontSaveDockingPanelsConfig = true;
Let me know if you need any help.
Thank you.