Hi,
I followed the instructions to install the multi-language version from the usage notes.txt, then set the language at the runtiime either like TChart1.Language=12 or TChart1.Language=laSpanish. When page is loaded on the client side, the chart editor still shows in English(default language). Can anyone help me how I can change the language at the runtime? Do you have any examples for the runtime multi-language?
Thanks and Regards,
John
TeeChart multi-language OCX 7.0.1.3
-
- Newbie
- Posts: 8
- Joined: Fri Aug 11, 2006 12:00 am
-
- Newbie
- Posts: 8
- Joined: Fri Aug 11, 2006 12:00 am
TeeChart multi-language OCX 7.0.1.3
I am not using teechart for applications. I am using tee chart AX for IE7, and using VBScript to communicate with teechart.
Regards,
John
Regards,
John
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi John,
This is only to check if TeeChart7Langs.ocx is working fine in your machine so that we can discard this as an issue.
Thanks in advance.
This is only to check if TeeChart7Langs.ocx is working fine in your machine so that we can discard this as an issue.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 8
- Joined: Fri Aug 11, 2006 12:00 am
TeeChart multi-language OCX 7.0.1.3
Below is what I did:
<SCRIPT LANGUAGE="VBScript">
sub window_onload()
on error resume next
TChart1.Language=laSpanish
sub window_onload()
on error resume next
TChart1.Language=laSpanish
FillChart()
end sub
sub FillChart()
'sets up Chart to print from IE's print option
TChart1.Environment.IEPrintWithPage=True
TChart1.RemoveAllSeries
TChart1.AddSeries( 1 )
TChart1.Series(0).Title="Fruits"
TChart1.Series(0).Clear
TChart1.Series(0).Add 100, "Apples", RGB(255,0,0)
TChart1.Series(0).Add 300, "Pears", RGB(0,255,0)
TChart1.Series(0).Add 200, "Bananas", RGB(255,255,0)
end Sub
Sub TChart1_OnDblClick()
TEditor1.Chart = TChart1
TEditor1.ShowEditor
end sub
</SCRIPT>
The Tee editor still show in English when I double click on chart. I have IE7, and TeeChart7Langs.ocx v7.013
Best Regard,
John
<SCRIPT LANGUAGE="VBScript">
sub window_onload()
on error resume next
TChart1.Language=laSpanish
sub window_onload()
on error resume next
TChart1.Language=laSpanish
FillChart()
end sub
sub FillChart()
'sets up Chart to print from IE's print option
TChart1.Environment.IEPrintWithPage=True
TChart1.RemoveAllSeries
TChart1.AddSeries( 1 )
TChart1.Series(0).Title="Fruits"
TChart1.Series(0).Clear
TChart1.Series(0).Add 100, "Apples", RGB(255,0,0)
TChart1.Series(0).Add 300, "Pears", RGB(0,255,0)
TChart1.Series(0).Add 200, "Bananas", RGB(255,255,0)
end Sub
Sub TChart1_OnDblClick()
TEditor1.Chart = TChart1
TEditor1.ShowEditor
end sub
</SCRIPT>
The Tee editor still show in English when I double click on chart. I have IE7, and TeeChart7Langs.ocx v7.013
Best Regard,
John
-
- Newbie
- Posts: 8
- Joined: Fri Aug 11, 2006 12:00 am
TeeChart multi-language OCX 7.0.1.3
Hi,
Oh, I don't have any VB software installed on my machine except for C++ builder, and VC++ . Do you want me to try other languages?
Regards,
John
Oh, I don't have any VB software installed on my machine except for C++ builder, and VC++ . Do you want me to try other languages?
Regards,
John
-
- Newbie
- Posts: 8
- Joined: Fri Aug 11, 2006 12:00 am
TeeChart multi-language OCX 7.0.1.3
Hi,
I've just tested the teechart7lang.OCX which I downloaded from my alpha web site in my VB application and the language is really changed at the runtime. Below is the logic I have in the VB app:
Private Sub Form_Load()
TChart1.Language = 12 'laSpanish
TEditor1.Chart = TChart1
End Sub
Private Sub TChart1_OnDblClick()
TEditor1.ShowEditor
End Sub
So how I could fix this my IE problem...
Regards,
John
I've just tested the teechart7lang.OCX which I downloaded from my alpha web site in my VB application and the language is really changed at the runtime. Below is the logic I have in the VB app:
Private Sub Form_Load()
TChart1.Language = 12 'laSpanish
TEditor1.Chart = TChart1
End Sub
Private Sub TChart1_OnDblClick()
TEditor1.ShowEditor
End Sub
So how I could fix this my IE problem...
Regards,
John
Hi John,
yes, you're correct, it happens because seems like the Language property is a reserved word in IE and this causes that the selected language is not saved in the registry.
We've fixed this problem adding a new property Languaged to be used in these cases.
We'll post a new maintenance v7.014 on our web site soon (before end of this month), but if you need it urgently please let me know an email account where I can send the new ocx file.
yes, you're correct, it happens because seems like the Language property is a reserved word in IE and this causes that the selected language is not saved in the registry.
We've fixed this problem adding a new property Languaged to be used in these cases.
We'll post a new maintenance v7.014 on our web site soon (before end of this month), but if you need it urgently please let me know an email account where I can send the new ocx file.
Pep Jorge
http://support.steema.com
http://support.steema.com