delphi 7 custom sort listbox
Posted on 2009-05-17
Ok I need to custom sort a listbox into alphabetical order. I need to use the Insert command to add the item, but how do I search the listbox and find the right place to insert the item? I need to know what the Index is of the item I add.
can anyone point me in the right direction as to how i would filter through the ListBox to find the correct spot to insert a new item?