>>>
>>>FOR x=oListBox.ListCount TO 1 STEP -1
>>> remove your entry
>>>ENDFOR
>>
>>Sorry Nadya, you would reference it as oListBox.Selected(x) and remove that.
>
>I haven't used for each much, but could it be done that way?
>
>For each listitem in olistbox
> * processing
>next
>
>Does that work? Or is there something like that?
The problem of doing it that way is that you'll hit the end of the list before you've actually processed all the entries. The list will shrink by one for each deletion. It would be the same as running through _SCREEN.Forms and Releasing each on. You don't get them all!