I concur. Now show me a screen shot of how these items appear in the Combobox's dropdown. In my case, they show up as:
def
xyz
The Items
property is typed as TStrings
, and this is NOT how TStrings
works on any other component I've ever seen. If anything, it should show
abc
uvw
If you put them in as:
abc=xyz
uvw=def
then the combobox shows them as
xyz
def
and if you copy it into a TStringlist, sort them, and copy them back into the Items you still see:
xyz
def
because the name=
parts are being hidden. The combobox should show the entire name=value
pairs in the dropdown, eg.
abc=xyz
uvw=def
If you Add these to the combobox:
1=John
2=Fred
3=Jane
4=Fred
5=Cindy
the combobox will show:
John
Fred
Jane
Fred
Cindy
and if you put it into a TStringlist with .sorted=True and .Dups=dupIgnore, then copy it back into combobox.Items, you'll end up with the exact same thing showing up in the combobox dropdown.
TStringlist
IS A TStrings
. So is TWebCombobox.Items
.
I don't care if TWebCombox.Items
is typed as, say, THTMLSelect
, which is how it behaves. But it's typed as TStrings
, and so it should behave like TStrings
in so far as what the user actually sees in the the combo's dropdown list. That's all I'm saying.