Search the web
Sign In
New User? Sign Up
rapidq · Rapid-Q is a multiplatform GUI and CONSOLE BASIC compiler/interpreter
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Bug in QListView SwapItem Command with snakediles LIBs   Message List  
Reply | Forward Message #35066 of 35534 |
Re: Bug in QListView SwapItem Command with snakediles LIBs

--- 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





Thu Jul 16, 2009 10:07 pm

burkleyd
Offline Offline
Send Email Send Email

Forward
Message #35066 of 35534 |
Expand Messages Author Sort by Date

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...
carlt_1
Offline Send Email
Jul 16, 2009
9:16 pm

... 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...
burkleyd
Offline Send Email
Jul 17, 2009
12:00 am

... did you try SortType? ' Extended ListView, some are only cosmetic extensions, not sure how to ' detect if the checkbox was checked or not... $TYPECHECK ON ...
johnk20042001
Offline Send Email
Jul 17, 2009
12:19 am

... Hi, Here's a function to sort a Qlistview: Sub SortListView(Column as integer, LView as QListView) 'Sort the listview on the indicated column dim Xindex as...
midiprog2000
Offline Send Email
Jul 17, 2009
1:58 pm

... That works much better than what I had used. Thank you! CarlT...
carlt_1
Offline Send Email
Jul 17, 2009
2:33 pm

I've seem to have found the problem! I recently added the OnChange event so that the 'Edit'-Button only appears when an Item is selected. This seems to cause...
carlt_1
Offline Send Email
Jul 18, 2009
3:09 pm

... I finally was able to recreate the problem BUT... now I'm not so sure where the problem is coming from. (I have an idea but I'm not 100% sure) Are you...
burkleyd
Offline Send Email
Jul 18, 2009
5:56 pm

... I'm not using an array of QListViews but I AM using multiple QListViews. I've since rewritten my code so that it no longer uses the OnChange-Event and the...
carlt_1
Offline Send Email
Jul 19, 2009
6:20 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help