language in Reportbuilder Version 9.03
Hello,
i have a question - in a littel Testapplication i have:
ppreport1 connected with ppdesigner1 (the "normal, empty ppreport")
ppreport1.Language = lgEnglish (ObjectInspector)
ppreport1.Units = uiInches (ObjectInspector)
ppreport2 connected with ppdesigner2 (the "normal, empty ppreport")
ppreport2.Language = lgGerman (ObjectInspector)
ppreport2.Units = uiMillimeters (ObjectInspector)
if i call ppdesigner1.Show -> i see the English version of the Designer with
the empty-standard Report template
if i call ppdesigner2.Show -> i see the German version of the Designer with
the empty-standard Report template
But if i call
ppreport1.Template.FileName:= xxxx;
ppreport1.Template.LoadFromFile;
ppdesigner1.Show;
--> i see always the German Version ????
..i like to have 2 Speedbuttons to select in witch language i open the
report
I copied rbPrint.eng, rbIDE.eng rbDADE.eng, rbPrint.deu, rbIDE.deu
rbDADE.deu in my Application Folder, but didn't help.
Any Ideas
Thanx for any help
Erich
i have a question - in a littel Testapplication i have:
ppreport1 connected with ppdesigner1 (the "normal, empty ppreport")
ppreport1.Language = lgEnglish (ObjectInspector)
ppreport1.Units = uiInches (ObjectInspector)
ppreport2 connected with ppdesigner2 (the "normal, empty ppreport")
ppreport2.Language = lgGerman (ObjectInspector)
ppreport2.Units = uiMillimeters (ObjectInspector)
if i call ppdesigner1.Show -> i see the English version of the Designer with
the empty-standard Report template
if i call ppdesigner2.Show -> i see the German version of the Designer with
the empty-standard Report template
But if i call
ppreport1.Template.FileName:= xxxx;
ppreport1.Template.LoadFromFile;
ppdesigner1.Show;
--> i see always the German Version ????
..i like to have 2 Speedbuttons to select in witch language i open the
report
I copied rbPrint.eng, rbIDE.eng rbDADE.eng, rbPrint.deu, rbIDE.deu
rbDADE.deu in my Application Folder, but didn't help.
Any Ideas
Thanx for any help
Erich
This discussion has been closed.
Comments
The language setting is saved with the template. You can use a template
event such as the Template.OnLoadEnd to set the language of the report after
the template has loaded to be sure the correct language is used.
http://www.digital-metaphors.com/rbWiki/Design/Templates/Using_Template_Events
Going forward hope you will be upgrading to RB 12, which includes many
powerful new features.
Here is a link to What's New for RB 12. (Use the side menu to navigate to
more detail).
http://www.digital-metaphors.com/rbWiki/General/What's_New/RB_12
Also note that we have launched rbWiki, a great RB 'How To' resource that
contains hundreds of tech tips and downloadable code examples.
http://www.digital-metaphors.com/rbWiki
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com