Page 1 of 1

StiToolsToolbarService bug ?

Posted: Fri Apr 06, 2007 9:10 am
by lcruiser
Hi,

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);
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.

Code: Select all

    StiToolsToolbarService toolsService = StiToolsToolbarService.GetService();
    toolsService.ServiceEnabled = false;

    report = new StiReport();
    report.Design(this);
Is it by design that I can't disable just one button?

Thanks.

StiToolsToolbarService bug ?

Posted: Fri Apr 06, 2007 9:33 am
by Edward
We will check the issue and inform you about results in this topic.

Thank you.

StiToolsToolbarService bug ?

Posted: Sat Apr 07, 2007 2:05 am
by Vital
Problem fixed. Patch will be included to build from 9 April.

Thank you.

StiToolsToolbarService bug ?

Posted: Mon Apr 09, 2007 7:20 am
by lcruiser
it works, thankyou.