Hi,
when my report designer opens the property grid is selected on the right.
I would rather that the Dictionary is selected on startup.
How can I do this please?
Thanks,
Patrick
How to open report designer and select the dictionary
How to open report designer and select the dictionary
Hello Patrick,
Please check following code:
Thank you.
Please check following code:
Code: Select all
Stimulsoft.Report.Design.Panels.StiDictionaryPanelService dict = Stimulsoft.Report.Design.Panels.StiDictionaryPanelService.GetService();
Stimulsoft.Report.Design.Panels.StiPropertiesPanelService props = Stimulsoft.Report.Design.Panels.StiPropertiesPanelService.GetService();
Stimulsoft.Report.Design.Panels.StiReportTreePanelService reportTree = Stimulsoft.Report.Design.Panels.StiReportTreePanelService.GetService();
Stimulsoft.Report.StiConfig.Load();
Stimulsoft.Report.StiConfig.Services.Remove(dict);
Stimulsoft.Report.StiConfig.Services.Remove(props);
Stimulsoft.Report.StiConfig.Services.Remove(reportTree);
Stimulsoft.Report.StiConfig.Services.Add(props);
Stimulsoft.Report.StiConfig.Services.Add(dict);
Stimulsoft.Report.StiConfig.Services.Add(reportTree);
Thank you.
How to open report designer and select the dictionary
Thanks Jan. This brought me the order I was looking for
:
Stimulsoft.Report.StiConfig.Services.Add(dict);
Stimulsoft.Report.StiConfig.Services.Add(props);
Stimulsoft.Report.StiConfig.Services.Add(reportTree);
All the best,
Patrick

Stimulsoft.Report.StiConfig.Services.Add(dict);
Stimulsoft.Report.StiConfig.Services.Add(props);
Stimulsoft.Report.StiConfig.Services.Add(reportTree);
All the best,
Patrick