![]() |
Update items and values of IWCombobox - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html) +--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html) +---- Forum: English (https://www.atozed.com/forums/forum-16.html) +----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html) +----- Thread: Update items and values of IWCombobox (/thread-2192.html) |
Update items and values of IWCombobox - KoderJan - 12-16-2020 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! RE: Update items and values of IWCombobox - Jose Nilton Pace - 12-17-2020 Hi, after update your combobox: ComboBox.RefreshItems; RE: Update items and values of IWCombobox - KoderJan - 12-17-2020 (12-17-2020, 02:15 AM)Jose Nilton Pace Wrote: Hi, after update your combobox: Wow, that simple huh :-) Thx! |