Atozed Forums

Full Version: Update items and values of IWCombobox
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

How can I update the Names and Values of TIWCombobox.Items in an asynchronous event in runtime?

Background: 
I have a array of records which is used to update TIWCombobox.Items asynchronously.
This combobox has 'ItemsHaveValues' enabled because I need access to the value of the items.
If I update the Items property using Combobox.Items.Add('Item 1=Value1') the combobox displays only the 'Value1'

Thanks!
Hi, after update your combobox:
ComboBox.RefreshItems;
(12-17-2020, 02:15 AM)Jose Nilton Pace Wrote: [ -> ]Hi, after update your combobox:
ComboBox.RefreshItems;

Wow, that simple huh :-) 
Thx!