Hi Hayri,
I have a problem with UniSPCheckCombo component.
I have 2 UniSpCheckCombo called combo1 and combo2
I'm population combo2 with values selected in combo1
like;
procedure TSearchForm1.combo1Change(Sender: TObject);
var
list1:TStringlist;
count1:integer;
begin
list1:=Tstringlist.Create;
combo2.BeginUpdate;
combo2.clear;
try
list1.Sorted:=true;
list1.Text:=combo1.SelectedIndex.Text;
for count1 := 0 to list1.Count-1 do
combo2.Addx(combo1.items[strtoint(list1[count1])],combo1.values[strtoint(list1[count1])]);
finally
combo2.EndUpdate;
list1.Free;
end;
end;
this works fine, but if I then change the selected items in combo1, then its weird as combo2 displays the items in drop down like a group set (see image)
I can't see whats doing it please can you help.
Thanks
Mark