>
> I'm having trouble with two listbox methods.
>
> The listbox is set to multiple (or extended), and I'm trying to use
> Delete(). The index numbers returned seem unpredictable. With 3 items
> it may return 0,6, 225464...
>
> Also, if I select multiple items, they all have the same id.
>
> Here's the code:
>
> my (@selections) = GetListbox($this)->GetSelections();
>
> my $item;
>
> foreach $item (@selections)
> {
> print "item to delete:$item\n";
> GetListbox($this)->Delete($item);
> }
Well, I'd like to have someone to blame for this, but it looks like
it is my fault ( oh, didn't you guess it? )
Will be fixed in the next snapshot
Regards
Mattia
|