Page 1 of 1

How to change window icon and UI language runtime ?

Posted: Wed Mar 10, 2010 10:54 am
by so29
hi

How icon Print preview window has changed

Code: Select all

    Stimulsoft.Report.Render.StiPreviewForm previewForm = new Stimulsoft.Report.Render.StiPreviewForm();
            previewForm.Icon ???
How do I complete the code ??

And how the code has changed UI language

Does the Stimul code to be there?

Code: Select all

  previewForm.UIlanguage =Spanish ;

Thank you.

How to change window icon and UI language runtime ?

Posted: Wed Mar 10, 2010 1:19 pm
by Jan
Hello,
How icon Print preview window has changed

Code: Select all

    Stimulsoft.Report.Render.StiPreviewForm previewForm = new Stimulsoft.Report.Render.StiPreviewForm();
            previewForm.Icon ???
How do I complete the code ??
Please use following code:

Stimulsoft.Report.StiOptions.Viewer.Windows.ViewerIcon = myicon;
And how the code has changed UI language
Here is it:

Code: Select all

Stimulsoft.Report.StiConfig.LoadLocalization("es.xml");
es.xml file you can find in attachment.

Thank you.


How to change window icon and UI language runtime ?

Posted: Fri Mar 12, 2010 10:27 am
by so29
hi

Thank you Jan

Re: How to change window icon and UI language runtime ?

Posted: Mon Dec 02, 2013 4:24 pm
by HowieD
Hello,

unfortunately the code doesn't work when calling then ShowWithRibbonGUI Methdod.
What can be done to Show a custom Icon there?

Best Regards
H. Dederichs

Re: How to change window icon and UI language runtime ?

Posted: Tue Dec 03, 2013 12:10 pm
by Alex K.
Hello,

The issue is fixed. The fix will be available in the next prerelease build.

Thank you.