I have one "CCombo" box and one List. i want all the items of List gets loaded into it when user clicks on its dropdown. but the problem is that if user clicks many times on the drop down then items gets added into it again and again. And while displaying these elements on the UI. User find duplicate items.
So I just want to know, can we remove duplicate items from the CCombo. If yes then please guide me.
Use removeAll()
or remove(int start, int end)
of CCombo
.