Change Office2007 style to Office2003

Stimulsoft Reports.NET discussion
Post Reply
mrapi
Posts: 282
Joined: Sat Dec 20, 2008 1:08 am

Change Office2007 style to Office2003

Post by mrapi »

Can Office2007 style be changed to Office2003 with viewer, in 2009.2 version,I've tried this code but DefaultGuiStyle seems not to be found.

Code: Select all

StiOptions.Viewer.Windows.DefaultGuiStyle = StiGuiStandardStyle.Office2003
Thanks
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Change Office2007 style to Office2003

Post by Jan »

Hello,

Please use following code:

Code: Select all

Stimulsoft.Report.StiSelectGuiHelper.IsIsRibbonGui = false;
Thank you.
mrapi
Posts: 282
Joined: Sat Dec 20, 2008 1:08 am

Change Office2007 style to Office2003

Post by mrapi »

Thanks Jan.

No,the same style,where I have to put this code ?

I used just above report is created

Code: Select all

Stimulsoft.Report.StiSelectGuiHelper.IsRibbonGui = False
Dim wRp As New StiReport
........................................

One correction: IsIsRibbonGui is IsRibbonGui



Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Change Office2007 style to Office2003

Post by Jan »

Hello,

You need call this code before report designer running.

Thank you.
mrapi
Posts: 282
Joined: Sat Dec 20, 2008 1:08 am

Change Office2007 style to Office2003

Post by mrapi »

Thanks Jan.

I use the code but no modification to viewier style is the same Office2007 maybe is a misunderstood,I want the viewer with default style,menus and buttons just like office 2003 not like 2007,nothing about ribbon.
There is capture of 2003 and 2007 style of some menus :
2003 :
Image
2007 :
[url=http://img526.imageshack.us/i/style2007.jpg/][img]http://img526.imageshack.us/img526/3368/s




mrapi
Posts: 282
Joined: Sat Dec 20, 2008 1:08 am

Change Office2007 style to Office2003

Post by mrapi »

Thanks Jan.

I use the code but no modification to viewier style is the same Office2007 maybe is a misunderstood,I want the viewer with default style,menus and buttons just like office 2003 not like 2007,nothing about ribbon.
There is capture of 2003 and 2007 style of some menus :
2003 :
Image
2007 :
Image




mrapi
Posts: 282
Joined: Sat Dec 20, 2008 1:08 am

Change Office2007 style to Office2003

Post by mrapi »

Thanks Jan.

I use the code but no modification to viewier style is the same Office2007 maybe is a misunderstood,I want the viewer with default style,menus and buttons just like office 2003 not like 2007,nothing about ribbon.
There is capture of 2003 and 2007 style of some menus :

2003 :

Image



2007 :

Image

I want viewer just like 2003 image style.Thanks.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Change Office2007 style to Office2003

Post by Edward »

Hi

I understand that you need to change the colour scheme and GUI style by code.

But the question is:

Could you see the scheme you were after in the Designer?

So if you go to:

Tools
Options
Gui
Standard Gui

Will the style you need among values in 'Color Scheme' combobox?

Thank you.
mrapi
Posts: 282
Joined: Sat Dec 20, 2008 1:08 am

Change Office2007 style to Office2003

Post by mrapi »

Hi !

I have Standard Gui selected but in 'Color Scheme' combobox I have silver,blue and black,but all look just like 2007.
The style I'm looking for, I saw in a old version of Stimul, 2008 or 2007.
All I intended to do is having the same style in report viewer as in main application,my application uses default VS.NET 2008 style for menus and controls just like office 2003 ( 2003 picture above) not like 2007 (2007 picture above).
If it is not possible I'll let it as it is.
Thanks.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Change Office2007 style to Office2003

Post by Jan »

Hello,

Please use following code:

StiOptions.Windows.GuiStyle = StiGuiStyle.Office2003;

Thank you.
Post Reply