Hi,
I'm trying to change the label of a combobox whenever an item is selected inside the combox (referring to a change in language); in the "Actions/On Ctrl Message"; I have put this code :
my combo contains 2 items (English/French); the content of tblComboLanguage returned is ok.
but this doesn't change nothing !
thanks for any help,
Domi.
I'm trying to change the label of a combobox whenever an item is selected inside the combox (referring to a change in language); in the "Actions/On Ctrl Message"; I have put this code :
Code:
-- These actions are triggered by the controls on the screen. tblComboLanguage = DlgComboBox.GetProperties( CTRL_COMBOBOX_02 ); --Dialog.Message("Selected :", tostring(tblComboLanguage.Selected)); if tblComboLanguage.Selected == 1 then tblComboLanguage.Text = "Choose your language :"; DlgComboBox.SetProperties( CTRL_COMBOBOX_02, tblComboLanguage ); else tblComboLanguage.Text = "Choisissez votre langue :"; DlgComboBox.SetProperties( CTRL_COMBOBOX_02, tblComboLanguage ); end
but this doesn't change nothing !
thanks for any help,
Domi.
Comment