Hi,
Can anyone show me how to set the language for every Teechart dialog/form at runtime? I found how to do it at design-time, but I want to do it at runtime.
Cheers,
Geerten
Language
Re: Language
Hello Geerten,
For change your language runtime, you need add in your project TeeLanguage class (Language=English for example) you want as do in next example:
And also you can find more examples in Demo project concretely in All Features\Miscellaneous\Multi-Language
I hope will helps.
Thanks,
For change your language runtime, you need add in your project TeeLanguage class (Language=English for example) you want as do in next example:
Code: Select all
uses EditChar, TeeCatalan,Series;
procedure TForm1.FormCreate(Sender: TObject);
var Series1:TLineSeries;
begin
Series1 := TLineSeries.Create(self);
Chart1.AddSeries(Series1);
Series1.FillSampleValues(10);
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
TeeSetCatalan;
EditChart(self,Chart1);
end;
I hope will helps.
Thanks,
Best Regards,
Sandra Pazos / 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 |
Re: Language
Thanks, I figured it out now.
Cheers,
Geerten
Cheers,
Geerten