this doesnt work
its probably something really obvious but how do i delete the selected line item from a tlistbox
i tried
listbox2.items.Delete[listbox2.itemindex];
and
listbox2.items[listbox2.itemindex].delete;
but for the first example i get a missing parameter error and the second i get illegal qualifier error.
the listbox is sorted alphabetically so ideally id like to "refresh" the box after deleting so that the line i delete doesn't leave a gap
any ideas on how to accomplish this feat?
thankee
cj