Customizing the New RibbonBar Control in the designer

Stimulsoft Reports.NET discussion
Post Reply
johnham
Posts: 98
Joined: Fri Sep 19, 2008 2:27 pm
Location: Richland, WA, USA

Customizing the New RibbonBar Control in the designer

Post 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

Thanks,
John Hamilton
Hamilton & Company, LLC
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Customizing the New RibbonBar Control in the designer

Post by Vital »

Hello,

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

Thank you.
johnham
Posts: 98
Joined: Fri Sep 19, 2008 2:27 pm
Location: Richland, WA, USA

Customizing the New RibbonBar Control in the designer

Post 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
Thanks,
John Hamilton
Hamilton & Company, LLC
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Customizing the New RibbonBar Control in the designer

Post by Vital »

Hello,

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

Thank you.
User avatar
Fabio Pagano
Posts: 355
Joined: Mon Apr 16, 2007 12:38 pm
Location: Bari (Italy)

Customizing the New RibbonBar Control in the designer

Post by Fabio Pagano »

Any new on this?

Thank you.
User avatar
Fabio Pagano
Posts: 355
Joined: Mon Apr 16, 2007 12:38 pm
Location: Bari (Italy)

Customizing the New RibbonBar Control in the designer

Post 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.
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Customizing the New RibbonBar Control in the designer

Post by Vital »

Hello,

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

Thank you.
Post Reply