Page 1 of 1
Hide unit selection in status bar of stiRibbonDesignerControl
Posted: Thu Dec 17, 2009 1:53 am
by munich
Hello,
I would like to hide the unit selection (drop down) in status bar of stiRibbonDesignerControl. How can this be done?
Thanks for any help.
Yours
munich
Hide unit selection in status bar of stiRibbonDesignerControl
Posted: Fri Dec 18, 2009 4:49 pm
by Jan
Hello Munich,
You can use following code:
Code: Select all
Stimulsoft.Report.Design.Toolbars.StiStatusBarService service = Stimulsoft.Report.Design.Toolbars.StiStatusBarService.GetService();
service.ShowUnits = false;
Thank you.
Hide unit selection in status bar of stiRibbonDesignerControl
Posted: Mon Dec 21, 2009 3:50 am
by munich
Hello Jan,
sorry, but the dropdown with the units is still visible.
I use your code right before I call
What did I do wrong?
Regards
munich
Hide unit selection in status bar of stiRibbonDesignerControl
Posted: Mon Dec 21, 2009 10:24 am
by Edward
Hi Munich,
The issue is confirmed. We will inform you when the issue is fixed.
Thank you.
Hide unit selection in status bar of stiRibbonDesignerControl
Posted: Thu Dec 24, 2009 5:10 am
by Edward
Hi Munich,
The issue is fixed and the patch will be available in the next prerelease build on Monday.
Thank you.
Hide unit selection in status bar of stiRibbonDesignerControl
Posted: Fri Jan 08, 2010 6:22 am
by munich
Dear Edward,
I am using patch SR_2010.01.04_R2005. But the dropdown with the units is still visible in status bar when I use
or use stiRibbonDesignerControl on a form.
What did I do wrong?
Yours
munich
Hide unit selection in status bar of stiRibbonDesignerControl
Posted: Fri Jan 08, 2010 1:08 pm
by Edward
Hi Munich,
Could you please explain briefly how designer was being used?
And the code above you had to to use before the designer had been created.
And in the build from 11th of January the following options will be available:
StiOptions.Designer.Toolbars.StatusBar.ShowUnits
StiOptions.Designer.Toolbars.StatusBar.ShowComponentName
StiOptions.Designer.Toolbars.StatusBar.ShowLocation
Thank you.
Hide unit selection in status bar of stiRibbonDesignerControl
Posted: Wed Jan 13, 2010 2:29 am
by munich
Dear Edward,
the property
Code: Select all
StiOptions.Designer.Toolbars.StatusBar.ShowUnits
works fine. Now the dropdown with the units disappears in status bar setting the property to false.
This is the code sequence that did and does not work:
Code: Select all
Stimulsoft.Report.Design.Toolbars.StiStatusBarService barService = Stimulsoft.Report.Design.Toolbars.StiStatusBarService.GetService();
barService.ShowUnits = false;
StiReport report = new StiReport();
report.Design();
I thank you very much for your help.
Yours
munich
Hide unit selection in status bar of stiRibbonDesignerControl
Posted: Thu Jan 14, 2010 9:14 am
by Edward
Hi Munich,
We will check it and let you know our results.
Thank you.