I just tried TStringList(ComboBox1.Items).Duplicates:=dupIgnore; but it does not work for combo (in Qt4). V. ______________________________________________________________
Od: "Bo Berglund via Lazarus" <[email protected]> Komu: [email protected] Datum: 12.10.2018 13:22 Předmět: [Lazarus] Combobox with sorted list of unique items?
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 -- _______________________________________________ Lazarus mailing list [email protected] https://lists.lazarus-ide.org/listinfo/lazarus <https://lists.lazarus-ide.org/listinfo/lazarus>
-- _______________________________________________ Lazarus mailing list [email protected] https://lists.lazarus-ide.org/listinfo/lazarus
