Hello again
I have made much successful use of ListBoxes but every time I try to go a step 
further a problem occurs. This one really baffles me. 
A window has a  ListBox which allows multiple selection and a PushButton with 
the following simple code:

  for n=0 to (List1.listcount-1)
    if List1.selected(n) then List1.removeRow(n)
  next

When a number of rows are selected and the PushButton is pushed, the result is 
that the first row selected and other alternate rows are deleted and the rest 
are skipped.
At first, before adding brackets to the first line I thought it might be 
reading '-1' as 'step 1' but no, the brackets make no difference.
Any ideas?

Incidentally, I find it very annoying that checking a check box does not fire 
the 'Change' event. Surely it should?

Regards
Bernard
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to