StiToolsToolbarService bug ?
Posted: Fri Apr 06, 2007 9:10 am
Hi,
I try to disable just the configurator in the tool bar with the following code
When I show the report in MDI form I got an error - Object not reference...
If I turn off the whole StiToolsToolbarService I have not problem, eg.
Is it by design that I can't disable just one button?
Thanks.
I try to disable just the configurator in the tool bar with the following code
Code: Select all
StiToolsToolbarService toolsService = StiToolsToolbarService.GetService();
toolsService.ShowConfigurator = false;
report = new StiReport();
report.Design(this);
If I turn off the whole StiToolsToolbarService I have not problem, eg.
Code: Select all
StiToolsToolbarService toolsService = StiToolsToolbarService.GetService();
toolsService.ServiceEnabled = false;
report = new StiReport();
report.Design(this);
Thanks.