EASY: Delete Multiple Selections From a List Box

any ideas ? =)
LVL 2
k6__Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
rwilson032697Connect With a Mentor Commented:
Run though all the items in the listbox, deleting the ones where the Selected property equals TRUE.

eg:
for I := ListBox.items.count - 1 downto 0 do
  if ListBox.selected[i] then
    ListBox.items.delete(i);

Cheers,

Raymond.
0
 
k6__Author Commented:
Adjusted points to 25
0
 
k6__Author Commented:
Adjusted points to 28
0
All Courses

From novice to tech pro — start learning today.