[Gambas-user] IDE Improvement Suggestion
Charlie Reinl
Karl.Reinl at ...9...
Fri Jul 10 16:44:42 CEST 2009
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
More information about the User
mailing list