From: "DIScussion" <[EMAIL PROTECTED]>
>  There is either a bug or there si something wrong in my program.

Its the program....

> sub Remove_Click {
>
> foreach $i ($List2->SelectedItems())  {
> $List2->Select($i);
> $List2->RemoveItem($i);
> print "Chosen $i,";
> }

    This doesn't work cause you're moving the items on the list when you
delete them.
Sneak up on them from behind, like this....

my @list=$List2->SelectedItems();
foreach $i ( sort {$b <=> $a} @list )

Rob
http://bangkokwizard.com/
I doubt, therefore I might be.



Reply via email to