Hello.
If you've ever used TreeView, you have already seen this code to add item and subitems:
var
li: TListItem;
begin
li := ListView1.Items.Add;
li.Caption := 'Title of your item';
li.SubItems.Add('Some sub-item related to main item');
li.SubItems.Add('Some other sub-item related to main item');
end;
And you can get these values by this code:
ShowMessage(ListView.ItemFocused.Caption); // returns value of the main item
ShowMessage(ListView.ItemFocused.SubItems.Strings[0]); // returns first sub-item value
ShowMessage(ListView.ItemFocused.SubItems.Strings[1]); // returns second sub-item value
It is very easy to use so question is ... why to not use this in ComboBox? It would be nice to add more than one item and add related sub-items.