Hi,
with a TComboBox you can fill the dropdown using a TStringList by doing ComboBox1.Items.AddStrings(myStringList);
Is there a way to do something similar with a TAdvSmoothComboBox?
Thanks
TAdvSmoothComboBox has a much more complex collection of items than a simple TComboBox.
As such, loading it from a simple TStringList directly is not possible.
You'd need to loop through the stringlist and add combobox items for it, i.e. something like:
var
i: integer;
sl: TStringList;
begin
for i := 0 to sl.Count - 1 do
advsmoothcombobox1.Items.Add.Caption := sl.Strings;
end;