Am Freitag, den 10.07.2009, 14:44 +0200 schrieb Gaël Le Hec'H: > In the project translation form, would it be possible to keep the selection > of the string when switching from a language to an other. > For the moment when you select an other language, it's always the first > string which is selected. > > Regards > > Gaël. Salut,
replace in FTranslate.class this function PUBLIC SUB cvwLang_Select() DIM sLang AS String = cvwLang.Item.Key DIM i1 AS Integer = cbxFileChoice.Index DIM s1 AS String = cvwTranslate.Current.Text DIM s2 AS String = txtFind.Text IF sLang = $sLang THEN RETURN 'sLang = vvwLang.ItemLanguage.FromName(cmbLang.Text) 'Project.Config.WriteString("/Language", sLang) SetLang(sLang) cbxFileChoice.Index = i1 txtFind.Text = s1 btnFind_Click txtFind.Text = s2 END works in gambas2 and gambas3 , gambas3 flickers a bit -- Amicalment Charlie ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user