Groups > Borland > Delphi winforms controls > Multilanguage




Multilanguage

Multilanguage
Thu, 22 Mar 2007 10:07:28 +010
Hi,
My application is bilanguage : french and dutch.
I use this to go from one to the other :

procedure TFIntro.Button3Click(Sender: TObject);
begin
  If LoadNewResourceModule(DUTCH) <> 0 then
    ReinitializeForms;
end;

procedure TFIntro.Button2Click(Sender: TObject);
begin
  If LoadNewResourceModule(FRENCH) <> 0 then
    ReinitializeForms;
//  Login.SetFocus;  // Focus sur le login
end;

When I click on Button3, the language is well changed but my window changes
of dimensions. The state was wsMaximized in French and becomes smaller in
Dutch. But when I see the state of the Dutch window, it is well also
wsMaximized.
How is it possible and how to correct this? I tried to put Scaled to False 
or to True but there is no change.
Greetings,
Georges


Post Reply
about | contact