Sign in to follow this  
Followers 0
crystalburner

ListViewSort

1 post in this topic

Perhaps someone can help me work something out here!

$suplist = GUICtrlCreateListView ("Invoice# |Firstname |Surname |Building |Address1 |Address2 |Postcode |Database ref#",0,0,600,350,$LVS_SORTDESCENDING)

I add invoices to a list like this that is sorted, they currently go from 1 to 890 perfecty with 890 at the top.

What I have noticed tho, during testing is this, if I simulate invoices over 1000 it looks like this

890

889

888

...

7..

6..

1000

Seems this sort is not quite sorting by number but sorting like this

4xxx

3xxx

2xxx

1xxx

Anyone hacked the include around or done this another way?

C

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0