[Lazarus] Combobox with sorted list of unique items?

Bo Berglund bo.berglund at gmail.com
Fri Oct 12 13:21:56 CEST 2018

I am trying to use a combobox as a container for recently used IP
addresses for easy selection by the user.
I can set the combobox style to csDropDown and Sorted to true.
But I cannot find the duplicates setting so I can set it to unique...

Is there some other way to do this except by loading the data on
startup into a TStringList with sorted and unique set and then
transfer the content into the Combobox?

Bo Berglund
Developer in Sweden

More information about the Lazarus mailing list