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? On Wed, Sep 24, 2008 at 7:55 AM, Benoit Minisini <[EMAIL PROTECTED]> wrote: > 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 with all kinds of >> errors at runtime. >> > > It should not. Check first that your form is not persistent. Anyway, you can > use the Delete method to delete the form, then release all references on 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@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user