How to add NComboBox Items Dynamically?


https://www.nevron.com/Forum/Topic4404.aspx
Print Topic | Close Window

By Fábio Mello - 14 Years Ago
Hi,

How to add NComboBox Items Dynamically?
By Nevron Support - 14 Years Ago

Hi Fábio,

NListBoxItem item = new NListBoxItem();
nComboBox1.Items.Add(item);

By Fábio Mello - 14 Years Ago
Hi,

This does not work because the NComboBox is not refreshed automatically.
By Nevron Support - 14 Years Ago

Hi Fábio,

What do you mean when you say that is not refreshed automatically?

Could you elaborate?

By Joseph Martz - 12 Years Ago
How can you add a NListBox item with a value different than it's display text?