|
-
Oct 18th, 2000, 03:02 AM
#1
Thread Starter
Frenzied Member
I can't figure it out anymore
--
My prob:
The user can add files to a listbox to let 'm run in the program (in a batch-sequence) but ofcourse I have to let the user delete files he doesn't need to be parsed.
but....
when I try to delete a item in a selected() way it gives me an error..
--
If lList.ListCount = 1 Then
lList.RemoveItem (lList.ListIndex)
Else
For I = 0 To (lList.ListCount)
If lList.Selected(I) = True Then
lList.RemoveItem (I)
End If
Next I
End If
Most of the time if I = 2 then it crashes...
What am I doin' wrong here?
Thnx in advance;
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|