Why didn't translate?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
weichangmei
Newbie
Newbie
Posts: 12
Joined: Thu Jun 06, 2013 12:00 am

Why didn't translate?

Post by weichangmei » Fri Aug 16, 2013 5:06 pm

hi, i write a simple program to test translation function.

The popup window by "ChartEditor1.Execute" don't translate. who can tell me why and how to?

=================== Main.pas =======================
unit Main;

interface

uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, TeeProcs, TeeGalleryPanel, TeeGDIPlus, StdCtrls, TeEngine,
Chart, DBChart, TeeEdit, ComCtrls, TeeChineseSimp, Series;

type
TForm1 = class(TForm)
ChartEditor1: TChartEditor;
Panel1: TPanel;
Button1: TButton;
DBChart1: TDBChart;
Series1: TLineSeries;
procedure Button1Click(Sender: TObject);
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;

var
Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.FormCreate(Sender: TObject);
begin
TeeSetChineseSimp;
TeeTranslateControl(Form1);
end;

procedure TForm1.Button1Click(Sender: TObject);
begin
ChartEditor1.Execute;
end;

end.
Attachments
TeeChart2.rar
(5.88 KiB) Downloaded 371 times

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Why didn't translate?

Post by Yeray » Tue Aug 20, 2013 10:20 am

Hi,

Try adding TeeTranslate to your uses clause.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

weichangmei
Newbie
Newbie
Posts: 12
Joined: Thu Jun 06, 2013 12:00 am

Re: Why didn't translate?

Post by weichangmei » Tue Aug 20, 2013 10:29 am

waoooo, i am so stupid.

thk u.

Post Reply