Hi,
I have a TCombobox with several items in English. I have translated the items also in Dutch in Multilines. This all works fine.
But now I need the original english text of the selected item and not the Dutch one. Without putting ActiveLanguage to 1.
I have tried it with
cField:=siLang1.GetStringValue(@siLang1.MultiLines, cbxSearchOn.text, 1);
But that does not work.
Any ideas?
Thanks
Andre
retreiving original text out of a multiline
You just need to use it as the following:
The second parameter is the ID of string in TsiLang's list (and I suppose cbxSearchOn.Items points to Items property of your combobox). This will return you the content of Items property for the first language.
Code: Select all
cField := siLang1.GetStringValue(siLang1.MultiLines, 'cbxSearchOn.Items', 1);
Best regards,
Igor Siticov.
Igor Siticov.