Page 1 of 1

AxisEditor in Japanese language

Posted: Tue Mar 08, 2005 5:53 am
by 8122852
Hi,
I am trying to pop up the AxisEditor from the TeeChart graph window
in Japanese. The following method calls do the job alright in the
all-in-one Editor case.

Code: Select all

Steema.TeeChart.Editors.AskLanguage.ChangeLanguage(17);
ShowEditor();
But the next code for the AxisEditor fails to show the Japanese dialog.
The result is always in English.

Code: Select all

Steema.TeeChart.Editors.AskLanguage.ChangeLanguage(17);
Steema.TeeChart.Editors.AxisEditor s= new
Steema.TeeChart.Editors.AxisEditor(this.tChart.Axes.Custom[axisIndex],this);
Steema.TeeChart.Editors.EditorUtils.ShowFormModal(s,this);
How should I control the language of the AxisEditor?

All the best,
HotSteemar

Posted: Tue Mar 08, 2005 11:14 am
by narcis
Hi HotSteemar,

You should implement the code above for the Axis Editor.

Code: Select all

	Steema.TeeChart.Editors.AskLanguage.ChangeLanguage(17);  
			Steema.TeeChart.Editors.AxisEditor s= new 
				Steema.TeeChart.Editors.AxisEditor(this.tChart1.Axes.Custom[0],this); 
			Steema.TeeChart.Editors.EditorUtils.Translate(s);
			Steema.TeeChart.Editors.EditorUtils.ShowFormModal(s,this);