i have a combobox and gallery that i want to mirror each other. Firstly when an item is selected on the combobox i want the collection to be updated. on the other side, when an item is removed from the collection i also want the spectic item o be deselected on the combobox.
i have only go one side of the solution working, still can't figure how to deselect an item if it is removed from the collection
OnChange of Combox
Clear(col_Terms);
Collect(col_Terms,ComboBox1.SelectedItems.Label)
items property of Gallery
col_Terms
Delete item from gallery
Remove(col_Terms,{Label: Gallery1.Selected.Label})
i just need a way to deselect the deleted item from the combobox. Any ideas