Hello;
How can i read TouchComboBox items and transfer to listbox via scripting?
regards
transfer TouchComboBox Items to Listbox via script
-
- Posts: 18
- Joined: Sun May 31, 2015 2:38 am
Re: transfer TouchComboBox Items to Listbox via script
My experience says that you cant. Not with the "Touch" controls as you can't acces the items or add new items at runtime. (Makes them a little useless)
You can do it if you use the alternative windows form controls "ComboBox" and "ListBox" also found by default in iX.
Using a foreach as the controls doesn't support the ".DataSource" property.
You can do it if you use the alternative windows form controls "ComboBox" and "ListBox" also found by default in iX.
Using a foreach as the controls doesn't support the ".DataSource" property.
Code: Select all
void Screen1_Opened(System.Object sender, System.EventArgs e)
{
foreach (var item in ComboBox.Items)
{
ListBox.Items.Add(item);
}
}