RE: get a unique collection of items
Thank you Ashish and Lars
I actually used the List Type as follows:
If ItemVariant.FindFirst() then begin
repeat
Colorlist.add(ItemVariant.Farbe);
until ItemVariant.next = 0;
end;
//Check unique
For i := 1 to ColorList.Count do begin
ContainValue := ColorList.Get(i);
Result := IsUnique.Contains(ContainValue);
if Result = False then
IsUnique.Add(ContainValue);
end;
This worked, thank you both, now I know that I'm on the right way in order to get such values :)