[Lazarus] Combobox with sorted list of unique items?

2018-10-12 Thread Bo Berglund via Lazarus
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

Re: [Lazarus] Combobox with sorted list of unique items?

2018-10-12 Thread Vojtěch Čihák via Lazarus
I just tried TStringList(ComboBox1.Items).Duplicates:=dupIgnore; but it does not work for combo (in Qt4).   V. __ Od: "Bo Berglund via Lazarus" Komu: laza...@lists.lazarus.freepascal.org Datum: 12.10.2018 13:22 Předmět: [Lazarus] Combo

Re: [Lazarus] Combobox with sorted list of unique items?

2018-10-12 Thread Bart via Lazarus
On Fri, Oct 12, 2018 at 2:30 PM Vojtěch Čihák via Lazarus wrote: > > I just tried TStringList(ComboBox1.Items).Duplicates:=dupIgnore; but it does > not work for combo (in Qt4). Override Insert and check if it is already in there? Bart -- ___ Lazarus

Re: [Lazarus] Combobox with sorted list of unique items?

2018-10-12 Thread Bo Berglund via Lazarus
On Fri, 12 Oct 2018 15:30:52 +0200, Bart via Lazarus wrote: >On Fri, Oct 12, 2018 at 2:30 PM Vojt?ch ?ihák via Lazarus > wrote: >> >> I just tried TStringList(ComboBox1.Items).Duplicates:=dupIgnore; but it does >> not work for combo (in Qt4). > >Override Insert and check if it is already in ther

Re: [Lazarus] Bugtracker IDE version list

2018-10-12 Thread Martin Frb via Lazarus
On 04/10/2018 14:42, AlexeyT via Lazarus wrote: b) Pls add 2.1 (trunk) added -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus