67148 - WebListbox.RemoveRowAt removes wrong row when listbox is sorted or filtered

Sample in feedback case: <https://xojo.com/issue/67148>

When entries of a weblistbox are sorted, RemoveRowAt removes wrong row. (it seems it relies on old (unsorted) index).

2021 R3.1

I have built a method for this bug as a workaround. Copy the list into an array, delete there based on the selected entry and then replace the list.

The whole thing is of course not suitable for larger amounts of data.

If someone has a better idea, please let me know ;-). (if the list is bound to a database, it is of course easier. But in my case I have several unbound lists).

I hope we will get an update soon.

1 Like