[Gambas-user] Applying translation to a running application
Benoit Minisini
gambas at ...1...
Wed Sep 24 16:09:46 CEST 2008
On mercredi 24 septembre 2008, M0E Lnx wrote:
> I think I have managed to get it somehow... but not sure it's the correct
> method
>
> Button1_Click()
> System.Language = Me.ID_LANG(trim(Listbox1.text)) ' This is a function
> that returns a language code en_US, es_ES, etc
> me.delete
> wait 1
> FrmLangSel.Showmodal ' only the showmodal method seems to load the
> form again after the change.
> END
>
> I have tried to use the show method again, but it returns a signal 11
> error. Are there any consequences that may come from using the showmodal
> method instead of the show?
>
If you get a signal #11, it is a bug in Gambas. So you should send me the code
so that I can fix it!
--
Benoit Minisini
More information about the User
mailing list