Page 1 of 1

Change Office2007 style to Office2003

Posted: Sat Dec 05, 2009 7:06 am
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

Change Office2007 style to Office2003

Posted: Mon Dec 07, 2009 6:54 am
by Jan
Hello,

Please use following code:

Code: Select all

Stimulsoft.Report.StiSelectGuiHelper.IsIsRibbonGui = false;
Thank you.

Change Office2007 style to Office2003

Posted: Mon Dec 07, 2009 7:19 am
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




Change Office2007 style to Office2003

Posted: Tue Dec 08, 2009 7:16 am
by Jan
Hello,

You need call this code before report designer running.

Thank you.

Change Office2007 style to Office2003

Posted: Tue Dec 08, 2009 10:25 am
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





Change Office2007 style to Office2003

Posted: Tue Dec 08, 2009 10:26 am
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





Change Office2007 style to Office2003

Posted: Tue Dec 08, 2009 10:26 am
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.

Change Office2007 style to Office2003

Posted: Wed Dec 09, 2009 4:20 am
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.

Change Office2007 style to Office2003

Posted: Wed Dec 09, 2009 5:29 am
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.

Change Office2007 style to Office2003

Posted: Wed Dec 09, 2009 12:09 pm
by Jan
Hello,

Please use following code:

StiOptions.Windows.GuiStyle = StiGuiStyle.Office2003;

Thank you.