ComboBox suggestion (compared to ListView) lazarus / 7-LCL ---------------------------------------------------------------------- M[a]nny · 2010-08-09 14:19 Hello. If you've ever used TreeView, you have already seen this code to add item and subitems: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i 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: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i ShowMessage(ListView.ItemFocused.Caption); // returns value of the main itemShowMessage(ListView.ItemFocused.SubItems.Strings[0]); // returns first sub-item valueShowMessage(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.