[Gambas-user] Applying translation to a running application
M0E Lnx
m0e.lnx at ...626...
Wed Sep 24 20:08:28 CEST 2008
I'm sorry... but I dont think I'm doing this right.
Here is a smaller project that reflects what I need it to do on my
bigger project (can't attach that one because it's hughe)
Can someone make the changes necessary to make the shown form
translate with the click of the button in this form?
Thanks
On 9/24/08, Benoit Minisini <gambas at ...1...> wrote:
> 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
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LANG-0.0.1.tar.gz
Type: application/x-gzip
Size: 8359 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20080924/d5100798/attachment.bin>
More information about the User
mailing list