Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Update items and values of IWCombobox
#1
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!
Reply
#2
Hi, after update your combobox:
ComboBox.RefreshItems;
Reply
#3
(12-17-2020, 02:15 AM)Jose Nilton Pace Wrote: Hi, after update your combobox:
ComboBox.RefreshItems;

Wow, that simple huh :-) 
Thx!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)