--- In rapidq@yahoogroups.com, "carlt_1" <carlt_1@...> wrote:
>
> I've recently started using the patched LIBS to fix the memory leaks
> in my programs.
>
> However I seem to have found a new bug which is giving me a headache.
> I've written several Routines to sort the items in my QListView who
> worked before.
>
> Now the SwapItem command always swaps the selected Item with the first one.
>
> List1.SwapItem (2,3) -> swaps Item 2 with Item 0.
> List1.SwapItem (12,5) -> swaps Item 12 with Item 0.
>
> Does anyone know how to fix/work around this?
>
> I have sometimes several hundred Items and not being able to sort them
> can be a real pain.
>
> Any help would be appreciated.
>
> CarlT
>
Hey Carl,
I'm not so sure the problem is in the LIBs.
I just created and ran a simple example
and it worked just as it should.
(the LIBs I have are dated December 22nd, 2006)
Would it be possible for you to post a short
example of your code that doesn't work?
David