Page 1 of 1

Customizing the New RibbonBar Control in the designer

Posted: Mon Oct 06, 2008 12:32 pm
by johnham
I have not seen anyone else addressing this. Maybe I'm just too bleeding edge. However, I need to remove some of the document management features (Save As, New, Load) from the Main Menu of the designer. I have the following code plugged in and it seems to do nothing. Is there a new "StiRibbonService" or something similar that I'm not seeing?

Code: Select all

            MainMenu = StiMainMenuService.GetService();
            
            MainMenu.ServiceEnabled = false;
            MainMenu.ShowFilePageSaveAs = false;
            MainMenu.ShowFileReportSaveAs = false;

            //Start Designer            
            DesignReport = new StiReport();                       
            
            DesignReport.Design(true);

I am using version 2008.2.281.0

Thanks,
John Hamilton
POSitive Software Company
http://www.gopositive.com


Customizing the New RibbonBar Control in the designer

Posted: Mon Oct 06, 2008 3:47 pm
by Vital
Hello,

Sorry at this moment you can't customize it. New service will be available in near future.

Thank you.

Customizing the New RibbonBar Control in the designer

Posted: Mon Oct 06, 2008 3:53 pm
by johnham
Thank you for the clarification.

I am still 3 to 6 months away from a final release of my software using Stimulsoft's reporting engine. Will this service be available shortly or are we talking months and months away?

Thanks,
John Hamilton

Customizing the New RibbonBar Control in the designer

Posted: Mon Oct 06, 2008 5:40 pm
by Vital
Hello,

This service will be available in next three-four weeks together with other ribbon improvements.

Thank you.

Customizing the New RibbonBar Control in the designer

Posted: Wed Nov 26, 2008 2:53 am
by Fabio Pagano
Any new on this?

Thank you.

Customizing the New RibbonBar Control in the designer

Posted: Wed Nov 26, 2008 5:25 pm
by Fabio Pagano
I didn't notice the new StiRibbonGuiService...

So, i've tried this code to hide the main menu "Open report..." item:

Code: Select all

Dim RibbonGuiService As Stimulsoft.Report.Design.StiRibbonGuiService = Stimulsoft.Report.Design.StiRibbonGuiService.GetService
RibbonGuiService.ShowMainMenuReportOpen = False
but the "Open report..." item is still there (i've tried with other items too, eg. "New report...", "Open page..." but none of them was hidden):

Image

Any help to hide menu items in ribbon gui?

Thank you.

Customizing the New RibbonBar Control in the designer

Posted: Thu Nov 27, 2008 6:15 pm
by Vital
Hello,

Problem with StiRibbonGuiService fixed. Please check build from 1 Dec.

Thank you.