Re: [Gambas-user] Applying translation to a running application

2008-09-25 Thread M0E Lnx
On the form buttons click() event change the code to this system.Language = trim(listbox1.text) me.close wait 1 FMain.show That will crash it with a signal 11 On Wed, Sep 24, 2008 at 6:31 PM, Benoit Minisini <[EMAIL PROTECTED]> wrote: > On mercredi 24 septembre 2008, M0E Lnx wrote: >> I'm sorr

Re: [Gambas-user] Applying translation to a running application

2008-09-24 Thread Benoit Minisini
On mercredi 24 septembre 2008, M0E Lnx wrote: > 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 >

Re: [Gambas-user] Applying translation to a running application

2008-09-24 Thread M0E Lnx
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? Than

Re: [Gambas-user] Applying translation to a running application

2008-09-24 Thread Benoit Minisini
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 > Frm

Re: [Gambas-user] Applying translation to a running application

2008-09-24 Thread M0E Lnx
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

Re: [Gambas-user] Applying translation to a running application

2008-09-24 Thread Benoit Minisini
On mercredi 24 septembre 2008, M0E Lnx wrote: > What I meant was, since you said the ob jects need to be destroyed and > then re-created for the translation to be picked up.. > > How do I destroy the objects and create them again? I tried closing > the form and opening it again, but that comes up w

Re: [Gambas-user] Applying translation to a running application

2008-09-24 Thread M0E Lnx
What I meant was, since you said the ob jects need to be destroyed and then re-created for the translation to be picked up.. How do I destroy the objects and create them again? I tried closing the form and opening it again, but that comes up with all kinds of errors at runtime. On Wed, Sep 24, 2

Re: [Gambas-user] Applying translation to a running application

2008-09-24 Thread Benoit Minisini
On mercredi 24 septembre 2008, Charlie Reinl wrote: > Am Dienstag, den 23.09.2008, 22:54 +0200 schrieb Benoit Minisini: > > On mardi 23 septembre 2008, Charlie Reinl wrote: > > > Am Dienstag, den 23.09.2008, 12:43 -0500 schrieb M0E Lnx: > > > > Can anyone think of a way to apply a translation to an

Re: [Gambas-user] Applying translation to a running application

2008-09-24 Thread Charlie Reinl
Am Dienstag, den 23.09.2008, 22:54 +0200 schrieb Benoit Minisini: > On mardi 23 septembre 2008, Charlie Reinl wrote: > > Am Dienstag, den 23.09.2008, 12:43 -0500 schrieb M0E Lnx: > > > Can anyone think of a way to apply a translation to an application > > > that's already running? > > > > > > An ex

Re: [Gambas-user] Applying translation to a running application

2008-09-23 Thread M0E Lnx
How might one apply this for a form that is already opened? I'm using a host form with a panel to host other forms.. My other forms are translated once the language is selected, but how would I translate the host form? On Tue, Sep 23, 2008 at 3:54 PM, Benoit Minisini <[EMAIL PROTECTED]> wrote: >

Re: [Gambas-user] Applying translation to a running application

2008-09-23 Thread Benoit Minisini
On mardi 23 septembre 2008, Charlie Reinl wrote: > Am Dienstag, den 23.09.2008, 12:43 -0500 schrieb M0E Lnx: > > Can anyone think of a way to apply a translation to an application > > that's already running? > > > > An example would be a wizard that starts out in English, and at the > > first step

Re: [Gambas-user] Applying translation to a running application

2008-09-23 Thread Stefano Palmeri
Il martedì 23 settembre 2008 19:43:54 M0E Lnx ha scritto: > Can anyone think of a way to apply a translation to an application > that's already running? > > An example would be a wizard that starts out in English, and at the > first step offers the user to choose their language. > After the user se

Re: [Gambas-user] Applying translation to a running application

2008-09-23 Thread Charlie Reinl
Am Dienstag, den 23.09.2008, 12:43 -0500 schrieb M0E Lnx: > Can anyone think of a way to apply a translation to an application > that's already running? > > An example would be a wizard that starts out in English, and at the > first step offers the user to choose their language. > After the user s

[Gambas-user] Applying translation to a running application

2008-09-23 Thread M0E Lnx
Can anyone think of a way to apply a translation to an application that's already running? An example would be a wizard that starts out in English, and at the first step offers the user to choose their language. After the user selects his/her language, the rest of the application get translated to